Search found 31 matches

by thatbruce
Saturday 6th August 2022 1:42pm
Forum: General
Topic: Graphic component like form in IDE
Replies: 3
Views: 112

Re: Graphic component like form in IDE

Interesting idea!
I'll look forward to further news.
b
by thatbruce
Thursday 14th July 2022 3:14am
Forum: Beginners
Topic: start method in class
Replies: 17
Views: 788

Re: start method in class

It makes more sense for your startup class/module to not really do much except initiate/run your other class files like vuott says. do much other than everything that you need done before your real main processing begins.... Is the internet up? Is the database server running? Is it Friday the 13th?...
by thatbruce
Thursday 14th July 2022 3:10am
Forum: Beginners
Topic: start method in class
Replies: 17
Views: 788

Re: start method in class

I'm guessing the whole class should then have to be static too? and any global variables referenced from Main() would need to be declared as static too. ' Gambas class file Create Static Static $myGlobalInteger As Integer Static Public Sub Main() $myGlobalInteger = 5 End But i could well be wrong a...
by thatbruce
Friday 27th May 2022 1:35pm
Forum: Component
Topic: How to catch messages from database?
Replies: 1
Views: 415

Re: How to catch messages from database?

:cry:
Sadly, after more than 10 years of fiddling with the gambas postgres component all I can report is "Damned if I know".
b
by thatbruce
Monday 23rd May 2022 7:31pm
Forum: Beginners
Topic: Lost Menu Bar
Replies: 3
Views: 564

Re: Lost Menu Bar

by thatbruce
Sunday 22nd May 2022 4:18am
Forum: Beginners
Topic: Lost Menu Bar
Replies: 3
Views: 564

Re: Lost Menu Bar

Try CTL+ALT+M
If that doesn't work because some other running program has consumed it (eg "locatecursor"), then try CTL+SHIFT+ALT+M
b
by thatbruce
Thursday 21st April 2022 10:12am
Forum: General
Topic: DateAdd problem with month end
Replies: 11
Views: 1885

Re: DateAdd problem with month end

Forget the Day(1) just use, for example
Yesterday = Date(now) - 1
Look at how gambas represents dates internally
by thatbruce
Tuesday 1st March 2022 3:33pm
Forum: General
Topic: Gambas and the framebuffer
Replies: 6
Views: 1518

Re: Gambas and the framebuffer

Have a look at the lower level graphics libraries. like gb.cairo, gb.opengl, gb.sdl etc etc.
b
by thatbruce
Saturday 26th February 2022 8:48am
Forum: Beginners
Topic: Explicit type conversion
Replies: 8
Views: 1975

Re: Explicit type conversion

AMUR-WOLF wrote:
Tuesday 15th February 2022 10:51am
BruceSteers wrote:
Tuesday 15th February 2022 10:27am
Object.Type() can be used to determine the variable type
He meant to say "the instance type"