how do i stop "return" from closing my form

Started by andrew, March 06, 2013, 11:18:52 AM

Previous topic - Next topic

andrew

i have the event "returnpressed" enabled
im trying to get text boxes filled in with info when return is pressed
but its just closing my form instead

how can i make the form stay opened when return is pressed

thanks

owenwengerd

You should find some good examples if you search the forum for OnCancelClose.
Owen Wengerd (Outside The Box) / ManuSoft

andrew


fpccad

Instead of working with  OnCancelClose you can set Return as TAB propertie to TRUE and each time you press Enter instead of closing it, it will change to next field

jmaeding

I can't believe I missed this for so long - return as tab????
That saves a lot of cancelclose business. good tip.

Fred Tomke

Quote from: jmaeding on March 10, 2014, 01:31:10 PM
That saves a lot of cancelclose business. good tip.
Hi, yes, it is, of course, as long as you don't need to keep focus in the textbox.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]