Search found 190 matches

by bill-lancaster
Thursday 18th May 2023 12:16pm
Forum: General
Topic: Strange mysql date problem
Replies: 2
Views: 700

Strange mysql date problem

ORDER BY date seems not to be working. hResult = hConn.Find("transactions", "ORDER BY TransDate") produces:- 27/01/0022 00:00:00 27/01/0022 00:00:00 31/01/0022 00:00:00 31/01/0022 00:00:00 01/12/2021 00:00:00 01/12/2021 00:00:00 01/12/2021 00:00:00 01/12/2021 00:00:00 01/12/2021 ...
by bill-lancaster
Wednesday 5th April 2023 7:30am
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 995

Re: Problem with installing gambas3

Thanks Bruce-all is well now.
Bill
by bill-lancaster
Tuesday 4th April 2023 9:52am
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 995

Re: Problem with installing gambas3

Looking very closely, its possible that the console has shrunk to zero height!
Right click on that area produced a message saying that the console is set to 'invisible', selected set to 'visible' and console now shows.
by bill-lancaster
Tuesday 4th April 2023 9:11am
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 995

Re: Problem with installing gambas3

No 'Print' shows nothing. I see a post by BruceSteers on 05th February 2023 where he says:- Find something like the following text in $HOME/.config/gambas3/gambas3.conf Code: Select all [FMain] Geometry=[12,59,1219,849,0,0] panProject=[False,293,True,False] panProperty=[False,265,True,False] panDebu...
by bill-lancaster
Tuesday 4th April 2023 7:34am
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 995

Re: Problem with installing gambas3

Thank you cogier, gambas is running again.
ide console still missing though.
F11 does nothing.
Any ideas?
by bill-lancaster
Monday 3rd April 2023 3:27pm
Forum: General
Topic: Problem with installing gambas3
Replies: 7
Views: 995

Problem with installing gambas3

I found that my gambas3 ide was behaving strangely, couldn't view console, keyboard hanging up etc. Decided to reinstall with:- sudo apt update, then sudo apt-get install gambas3 but get these messages:- bill@bill-Vostro-3470:~$ sudo apt-get install gambas3 [sudo] password for bill: Reading package ...
by bill-lancaster
Monday 29th August 2022 6:38am
Forum: General
Topic: Raise event in custom component
Replies: 7
Views: 1234

Re: Raise event in custom component

Thanks Bruce,
Putting the raise event in _Ready() doesn't work.
I've been running the event from the parent form but was trying to skip this step.
In the _new() sub, the table is filled with data and the first line is selected. At the moment gridview_Arrange() works fine.
Thanks again
by bill-lancaster
Sunday 28th August 2022 4:46pm
Forum: General
Topic: Raise event in custom component
Replies: 7
Views: 1234

Re: Raise event in custom component

Thanks cogier, GridView1_Arrange() does the job.
'Raise ChangeCat' in _new() doesn't work.
Thanks again
by bill-lancaster
Sunday 28th August 2022 2:43pm
Forum: General
Topic: Raise event in custom component
Replies: 7
Views: 1234

Re: Raise event in custom component

Thanks Bruce,
This control draws 2 gridviews , a buttonbox etc all inside a Frame (hFrame) on the parent form so hFrame doesn't have a _Open or _Show event.
Have just tried hFrame_Activate() and hFrame_GotFocus() but these events aren't triggered.
Hope this makes sense.
by bill-lancaster
Sunday 28th August 2022 11:22am
Forum: General
Topic: Raise event in custom component
Replies: 7
Views: 1234

Raise event in custom component

I have a custom component containing a gridview which is populated and the first row selected in the _new() procedure.

Clicking on a row in the gridview raises an event ('ChangeCat' in my project).

How to raise this event as soon as the control is loaded (i.e. with no further user action)?