Search found 68 matches
- Wednesday 20th November 2019 5:15pm
- Forum: General
- Topic: Odd Console Warnings
- Replies: 5
- Views: 5912
Re: Odd Console Warnings
Hi issboss, They are warnings, and don't seem to affect the system when I compile to an executable and run it, so I am tempted to simply ignore them by clearing the console before every debug session. I know that doesn't do anything to the actual cause of the warnings though, but being a long-term (...
- Wednesday 20th November 2019 5:08pm
- Forum: General
- Topic: Action, the class and the property
- Replies: 11
- Views: 11875
Re: Action, the class and the property
Hi, If you want separate events getting triggered by different controls you should have a look at group. You will find it in menu items as well as on controls. https://paste.c-net.org/SufferedFlamingo https://paste.c-net.org/VomitWonderin Say you have a few controls in a group named "Test"...
Re: Settings
Hi cage, Using the users .config folder is a standard location for placing configuration files on Linux systems. This ensures that: 1. every user on the system has a personal configuration file 2. system admins have a standard location to look for in case of trouble shooting a system Not only Gambas...
- Wednesday 23rd October 2019 10:25am
- Forum: General
- Topic: Object serialization, allowing save and load of class structure data
- Replies: 9
- Views: 10076
Re: Object serialization, allowing save and load of class structure data
Hi Godzilla,
I must say I find this a quite interesting concept you've been working on.
Could you post the application with all added corrections so I can have a closer look at it all.
I might have some good use for it in one of my projects.
And thanks for figuring it all out
I must say I find this a quite interesting concept you've been working on.
Could you post the application with all added corrections so I can have a closer look at it all.
I might have some good use for it in one of my projects.
And thanks for figuring it all out
- Tuesday 22nd October 2019 3:30pm
- Forum: General
- Topic: How to navigate to a new Form
- Replies: 6
- Views: 7198
Re: How to navigate to a new Form
Hi maldus, I guess this is what you want to do: Code for FMain: Public Sub Button1_Click() FSecond.Show Me.Hide End Code for FSecond: Public Sub Button1_Click() FMain.Show Me.Hide End You can also use Me.Close on the forms if you like. In code above they stay opened but hidden. If the idea here is t...
- Tuesday 22nd October 2019 3:23pm
- Forum: General
- Topic: Error (the Class) vs ERROR (the Boolean)
- Replies: 7
- Views: 7162
Re: Error (the Class) vs ERROR (the Boolean)
Glad I can be off help.
@cage: where do we know each other from, the old forum perhaps and under a different name?
@cage: where do we know each other from, the old forum perhaps and under a different name?
- Monday 21st October 2019 4:03pm
- Forum: General
- Topic: Error (the Class) vs ERROR (the Boolean)
- Replies: 7
- Views: 7162
Re: Error (the Class) vs ERROR (the Boolean)
Hi sjsepan, There is no need to pass Error (the class) as you can approach it directly. Try this: Public Sub Main() Print 1 / 0 Catch Debug FormatError() End Public Function FormatError() As String Dim sResult, sLine As String sResult = Subst("Error at &1: (&2) &3\n", Error.Whe...
- Tuesday 15th October 2019 3:48pm
- Forum: General
- Topic: Raspberry Pi, Raspbian and Gambas
- Replies: 3
- Views: 5381
Re: Raspberry Pi, Raspbian and Gambas
Hi Cogier and Quin, Thanks for the info. Gives me something to think about. @Cogier: Posting an example isn't that easy because of: 1. License issues on the animated gifs (not made by me) 2. License issues on the pricelist application (made by me but for the company I work for) 3. Data for the price...
- Wednesday 9th October 2019 11:44am
- Forum: General
- Topic: Raspberry Pi, Raspbian and Gambas
- Replies: 3
- Views: 5381
Raspberry Pi, Raspbian and Gambas
Hi all, Have been working with Banana Pi's for quite a while now with an old Lubuntu image (14.04) running a Gambas 3.6.2 application that provides a pricelist for the company I work for. I first started out with Raspberry Pi's (first model) but they simply couldn't handle the graphical load in thos...
- Sunday 18th August 2019 4:02pm
- Forum: General
- Topic: Record not found problem
- Replies: 7
- Views: 9380
Re: Record not found problem
Have you considered this:
If $rSQLData.Available Then
'Do the stuff you need to do when a key is found
Else
'Set focus to the input
Message.Error("Record not found! Please enter a valid ASL number")
txtASLNo.setfocus
Endif