Re: [Gambas-user] Setting default values on a listbox

2010-02-08 Thread charlesg
Hi I read the question differently from Werner (probably incorrectly!) I think you want: PUBLIC SUB Form_Open() DIM j AS Integer FOR j = 40 TO 50 ListBox1.Add(Str(j) Chr(j), j) NEXT ListBox1[5].selected = TRUE END -- View this message in context:

Re: [Gambas-user] printer problem

2010-02-08 Thread Charlie Reinl
Am Montag, den 08.02.2010, 08:20 +0100 schrieb Rolf-Werner Eilert: Am 06.02.2010 00:52, schrieb Benoît Minisini: Salut, I still haven't solved the Draw.Text tab problem, but I'v a new one (a problem). If you open the printer-setup the first time, the 'Print to printer' is chosen,

Re: [Gambas-user] Draw.Text problem with control chars

2010-02-08 Thread Ron_1st
On Monday 01 February 2010, Kadaitcha Man wrote: On 1 February 2010 23:10, Doriano Blengino doriano.bleng...@fastwebnet.it wrote: Probably we are saying the same thing. Not if a tab is eight spaces wide, we aren't :)

Re: [Gambas-user] use of ORDER BY in gb.Find

2010-02-08 Thread Benoît Minisini
The follwing code works hResult = $hConn.Find(addresses, , ORDER BY lastname) but result is not sorted. Of course I could use .EXEC with full SQL string but The request is only in the second argument of Find() (see documentation). The other arguments are substituted inside the

Re: [Gambas-user] use of ORDER BY in gb.Find

2010-02-08 Thread Bill-Lancaster
Thank you Benoît -- View this message in context: http://old.nabble.com/use-of-ORDER-BY-in-gb.Find-tp27489573p27500899.html Sent from the gambas-user mailing list archive at Nabble.com. -- The Planet: dedicated and

Re: [Gambas-user] Setting default values on a listbox

2010-02-08 Thread Dag Jarle Johansen
Hi, I agree, if I had a set of Listboxes, where each stores one option, the options wan't be changeable, and all you have to do is to store the index of each listbox. Where to store - what one likes, settings are surely ok. regards Dag Am Montag, den 08.02.2010, 00:44 -0800 schrieb charlesg:

Re: [Gambas-user] printer problem

2010-02-08 Thread Rolf-Werner Eilert
Am 08.02.2010 14:38, schrieb Benoît Minisini: Am Montag, den 08.02.2010, 08:20 +0100 schrieb Rolf-Werner Eilert: Am 06.02.2010 00:52, schrieb Benoît Minisini: Salut, I still haven't solved the Draw.Text tab problem, but I'v a new one (a problem). If you open the printer-setup the first