Search found 184 matches

by PJBlack
Wednesday 3rd February 2021 3:05pm
Forum: General
Topic: How does the MessageView control work?
Replies: 15
Views: 8784

Re: How does the MessageView control work?

didn't get it to work :(

but maybe ...
MessageView1.Border = True
MessageView1.Open("My 1st message")
MessageView1.Close
MessageView1.Open("My 2nd message")
MessageView1.Close
MessageView1.Open("My 3rd message")
MessageView1.Close
by PJBlack
Tuesday 2nd February 2021 3:24pm
Forum: Beginners
Topic: what about the classes?
Replies: 10
Views: 8680

Re: what about the classes?

yeah ... party :D back to topic: charlie ... i'm an f***ing old procedural programmer with big fears of OOP for a long time and it tokks me a lot of hard work to get into it ... but while understanding how it works or maybe how i should work i will say "oh wow ... how could i program without th...
by PJBlack
Tuesday 2nd February 2021 2:17pm
Forum: Beginners
Topic: what about the classes?
Replies: 10
Views: 8680

Re: what about the classes?

the carpenters ??? really ??? ;)
by PJBlack
Monday 1st February 2021 6:43pm
Forum: Web
Topic: Get a download file size before download (gb.net.curl)
Replies: 9
Views: 13642

Re: Get a download file size before download (gb.net.curl)

found this Use the -I option to only retrieve the headers, and look for the “Content-Length” header. Add the -L option if necessary to follow redirects. For example: $ curl -L -I https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.4.0-amd64-netinst.iso HTTP/1.1 302 Found Date: Mon, 18...
by PJBlack
Sunday 31st January 2021 4:47pm
Forum: General
Topic: how to get sub/function name and parameters
Replies: 8
Views: 6337

Re: how to get sub/function name and parameters

The IDE runs through the code very quickly and lists all symbols, function names, values etc in an enumerable collection. thats what im looking for ... your example did not work because: 1. in Highlight.Analyze("form1", False) i have to manually give the name, and 2. Highlight.Symbols giv...
by PJBlack
Sunday 31st January 2021 2:45pm
Forum: Project showcase
Topic: My Little Gambas Helper
Replies: 14
Views: 11711

Re: My Little Gambas Helper

I don't use Gambas enough to be able to remember what all the Control Icons mean, or even where they are i'm using gambas every day and don't remember all of the controls and for sure not in which component they located ... for me not a problem just lost time but i think for a new gambas programmer...
by PJBlack
Sunday 31st January 2021 1:46pm
Forum: Project showcase
Topic: My Little Gambas Helper
Replies: 14
Views: 11711

Re: My Little Gambas Helper

works great if run from gambas

but compiled into a directory outside the project it says file not found ... seems controls.csv and images/ not found
in the main prog PopSearchTerms also not found ... to me not that problem

for now i let it in the project folder ;) that wonderful piece of genius
by PJBlack
Sunday 31st January 2021 1:28pm
Forum: General
Topic: how to get sub/function name and parameters
Replies: 8
Views: 6337

Re: how to get sub/function name and parameters

but what if i want that with every function? seems much typing ... what im thinking of is something like: strCName = Split(System.Backtrace[0],".")[0] ' class name strFName = Split(System.Backtrace[0],".")[1] ' function name name For Each a??????? As ???????? (Variant?) in strCNa...
by PJBlack
Sunday 31st January 2021 7:56am
Forum: General
Topic: how to get sub/function name and parameters
Replies: 8
Views: 6337

how to get sub/function name and parameters

lets say ... i have a sub/function like Public Function test(par1 as Integer, par2 as String) As Integer ' something like Print FunctionName ' something like For Each Parameter in FunctionCall ' Print ParName, ParValue ' End With End and i like to know the name of the function and the given paramete...
by PJBlack
Friday 29th January 2021 5:01pm
Forum: General
Topic: Print Preview
Replies: 6
Views: 5610

Re: Print Preview

i'm with today's 3.15.90 / gb.gui.qt and your code crashes gambas completely ...