Search found 34 matches

by gbWilly
Tuesday 22nd October 2019 3:30pm
Forum: General
Topic: How to navigate to a new Form
Replies: 6
Views: 1095

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...
by gbWilly
Tuesday 22nd October 2019 3:23pm
Forum: General
Topic: Error (the Class) vs ERROR (the Boolean)
Replies: 7
Views: 1147

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?
by gbWilly
Monday 21st October 2019 4:03pm
Forum: General
Topic: Error (the Class) vs ERROR (the Boolean)
Replies: 7
Views: 1147

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.Where, Error.Code, Error....
by gbWilly
Tuesday 15th October 2019 3:48pm
Forum: General
Topic: Raspberry Pi, Raspbian and Gambas
Replies: 3
Views: 1016

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...
by gbWilly
Wednesday 09th October 2019 11:44am
Forum: General
Topic: Raspberry Pi, Raspbian and Gambas
Replies: 3
Views: 1016

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...
by gbWilly
Sunday 18th August 2019 4:02pm
Forum: General
Topic: Record not found problem
Replies: 7
Views: 2512

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
by gbWilly
Monday 24th June 2019 3:12pm
Forum: Lounge
Topic: private file transfers
Replies: 8
Views: 3198

Re: private file transfers

It worked for me.
Now let's have a look at what I downloaded :lol:
by gbWilly
Sunday 09th June 2019 3:56pm
Forum: General
Topic: Start up function in library
Replies: 5
Views: 2342

Re: Start up function in library

Hi, I was checking some old post when I ran into this one. Maybe a bit of a very late reply, but this might do the trick. As your library needs a start up class anyway, you might as well use that class to your advantage. In that class define a: Public Sub _Init() 'your code here End to make the libr...
by gbWilly
Wednesday 29th May 2019 8:08am
Forum: Web
Topic: HTML-Editor
Replies: 3
Views: 3021

Re: HTML-Editor

Thanks Cogier,

I'll have a look at it and see how usable it is.
by gbWilly
Wednesday 29th May 2019 12:06am
Forum: General
Topic: GridView
Replies: 8
Views: 2473

Re: GridView

Hi Sholzy, You want to know the default gridview height. Check the example attached on how to get it. This default height could be used as a unit for multiplying in case of multiple lines. The value is given according to the font type and size used. Feel free to experiment, I used Sans Serif in the ...