Started by andrew ·
2013-03-06 19:18 UTC ·
5 replies · SMF topic #1949
andrew
2013-03-06 19:18 UTC
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
2013-03-06 21:18 UTC
You should find some good examples if you search the forum for OnCancelClose.
andrew
2013-03-08 14:36 UTC
found it
thanks Owen
fpccad
2013-04-25 00:10 UTC
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
2014-03-10 20:31 UTC
I can't believe I missed this for so long - return as tab????
That saves a lot of cancelclose business. good tip.
fred_tomke
2014-03-17 12:19 UTC
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