[Gambas-user] How To Trap a Carriage Return In a Text Box?

Rob sourceforge-raindog2 at ...94...
Mon Dec 6 21:32:07 CET 2004


On Monday 06 December 2004 15:22, LACKKD at ...674... wrote:
> How can I check for a carriage return in a text box?

Look into the KeyPress event, and use STOP EVENT (and your own 
code, if you want to do something like move to the next box) if 
Key.Code is Key.Return (or maybe it's Key.Enter, I forget which 
is which.)

Rob






More information about the User mailing list