Search found 35 matches

by thatbruce
Sunday 11th September 2022 7:06am
Forum: Beginners
Topic: Automatically fit form to resolution
Replies: 3
Views: 121

Re: Automatically fit form to resolution

Understood, and it's a good question. Probably the answer lies in using MoveScaled in a Form_Open event handler. There is a way to get the screen height but I can't find it at the moment. Maybe someone else can help here. So what we want to do is use MoveScaled with x=0, y=0, height= the screen heig...
by thatbruce
Tuesday 23rd August 2022 9:37am
Forum: General
Topic: Modifying things with Automatic inheritance (Quick HowTo)
Replies: 4
Views: 222

Re: Modifying things with Automatic inheritance (Quick HowTo)

Very good. But one observation (of course :twisted: ), AFAIK you cannot override event handlers . If for example you try to override the (self)_Timer event handler then both yours and the native timer events will be called and (AFAIK) there is no way to determine which is called first. Just a caveat...
by thatbruce
Friday 19th August 2022 6:18pm
Forum: General
Topic: Music controls
Replies: 7
Views: 330

Re: Music controls

I think that this would be either horrifying difficult or it would depend on something made public by the player application - dbus? The horrible method would involve somehow finding the application icon on the screen and somehow activating it with generated mouse actions (and I dont think that is e...
by thatbruce
Friday 19th August 2022 6:11pm
Forum: General
Topic: Help With JSON formatting
Replies: 26
Views: 1313

Re: Help With JSON formatting

I don't think the following will help as I know nothing about EFTPOS systems in the UK but here in AUS the basic concept is that once the transaction is initiated from the till system to the card terminal the process is entirely atomic and takes place between the customer and the financial switch sy...
by thatbruce
Saturday 6th August 2022 1:42pm
Forum: General
Topic: Graphic component like form in IDE
Replies: 3
Views: 328

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: 1319

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: 1319

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: 547

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: 745

Re: Lost Menu Bar