Re: [Gambas-user] Textbox - Valuebox

2010-10-04 Thread Fabián Flores Vadell
2010/10/4 Biro Zoltan : > Thank you very much Johny! > > BUT! > > I can evaluate the key pressed with keypress event, but I cannot make > the cursor to leave this textbox and to move to the next textbox. > > My example: > > PUBLIC SUB factura_KeyPress() >  IF Key.Code = Key.Enter OR Key.Code = Key.

Re: [Gambas-user] Textbox - Valuebox

2010-10-04 Thread Johny Provoost
Op 04-10-10 11:02, Zoltan Biro schreef: > Hello everybody.. > > Can somebody told me how I can make the cursor to leave textbox > with a simple key? > By defaul I can leave these controls only with the tab or directional > keys..this is very unconfortable. > Thank you for your answer in advan

[Gambas-user] Textbox-valuebox objects

2010-10-04 Thread Biro Zoltan
Hi all! I evaluated the last key pressed in a valuebox with the keypress event. If the value of the key pressed is I wish to make the cursor to leave the current valuebox and to move to next object (a value box or command button etc.) How can I make this? Is a method to set the focus to an anot

Re: [Gambas-user] Textbox - Valuebox

2010-10-04 Thread Jussi Lahtinen
NewTextBox.SetFocus() ? Jussi On Mon, Oct 4, 2010 at 15:55, Biro Zoltan wrote: > Thank you very much Johny! > > BUT! > > I can evaluate the key pressed with keypress event, but I cannot make > the cursor to leave this textbox and to move to the next textbox. > > My example: > > PUBLIC SUB fact

Re: [Gambas-user] Textbox - Valuebox

2010-10-04 Thread Biro Zoltan
Thank you very much Johny! BUT! I can evaluate the key pressed with keypress event, but I cannot make the cursor to leave this textbox and to move to the next textbox. My example: PUBLIC SUB factura_KeyPress() IF Key.Code = Key.Enter OR Key.Code = Key.Return THEN ' here is neccesary a

[Gambas-user] Textbox - Valuebox

2010-10-04 Thread Zoltan Biro
Hello everybody.. Can somebody told me how I can make the cursor to leave textbox with a simple key? By defaul I can leave these controls only with the tab or directional keys..this is very unconfortable. Thank you for your answer in advance. Best regards, Zoli B. ---