Re: [Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-13 Thread Benoit Minisini
On samedi 13 septembre 2008, Kari Laine wrote: > Hi, > > i am trying to understand this observer. I include a little project that I > tested with. > > PUBLIC SUB Form_Open() > 'ListBox1.Add("box1row1") > 'ListBox1.Add("box1row2") > 'ListBox1.Add("box1row3") > > if these lines are uncommented the ob

Re: [Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-13 Thread Benoit Minisini
On samedi 13 septembre 2008, Kari Laine wrote: > Hi, > > i am trying to understand this observer. I include a little project that I > tested with. > > PUBLIC SUB Form_Open() > 'ListBox1.Add("box1row1") > 'ListBox1.Add("box1row2") > 'ListBox1.Add("box1row3") > > if these lines are uncommented the ob

Re: [Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-13 Thread Kari Laine
Hi, i am trying to understand this observer. I include a little project that I tested with. PUBLIC SUB Form_Open() 'ListBox1.Add("box1row1") 'ListBox1.Add("box1row2") 'ListBox1.Add("box1row3") if these lines are uncommented the observer ceases to work. I cannot get the focus to move so that Los

Re: [Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-13 Thread Kari Laine
On Sat, Sep 13, 2008 at 4:15 PM, Benoit Minisini < [EMAIL PROTECTED]> wrote: > On samedi 13 septembre 2008, Ian Roper wrote: > > It would be nice to have this as a standard method for these sort of > > controls. :) > > > Hi Benoit, I am here learning Gambas...I have some questions - don't answer

Re: [Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-13 Thread Ian Roper
Doriano, Thank you for your good advice. I like the timer clear idea especially. I will also experiment with cursor controls and see if i can make the code tighter. Cheers mate, Ian On Sat, 2008-09-13 at 09:05 +0200, Doriano Blengino wrote: > Ian Roper ha scritto: > > Greetings all, > > > > I a

Re: [Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-12 Thread Doriano Blengino
Ian Roper ha scritto: > Greetings all, > > I am looking for a better way to locate and select an entry in a combo > or list box by pressing a series of keys. > > I have been able to do this with the following code but there must be a > better way. ? > > It would be nice to have this as a standard m

[Gambas-user] Select an entry in a combo or list box by keypress - Is there a better way.

2008-09-12 Thread Ian Roper
Greetings all, I am looking for a better way to locate and select an entry in a combo or list box by pressing a series of keys. I have been able to do this with the following code but there must be a better way. ? It would be nice to have this as a standard method for these sort of controls. :)