how do i stop "return" from closing my form

Started by andrew · 2013-03-06 19:18 UTC · 5 replies · SMF topic #1949

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
You should find some good examples if you search the forum for OnCancelClose.
found it

thanks Owen
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
I can't believe I missed this for so long - return as tab????
That saves a lot of cancelclose business. good tip.
author=jmaeding link=topic=1949.msg10439#msg10439 date=1394483470 wrote:
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