OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: andrew on March 06, 2013, 11:18:52 AM

Title: how do i stop "return" from closing my form
Post by: andrew on March 06, 2013, 11:18:52 AM
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
Title: Re: how do i stop "return" from closing my form
Post by: owenwengerd on March 06, 2013, 01:18:51 PM
You should find some good examples if you search the forum for OnCancelClose.
Title: Re: how do i stop "return" from closing my form
Post by: andrew on March 08, 2013, 06:36:19 AM
found it

thanks Owen
Title: Re: how do i stop "return" from closing my form
Post by: fpccad on April 24, 2013, 05:10:18 PM
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
Title: Re: how do i stop "return" from closing my form
Post by: jmaeding on March 10, 2014, 01:31:10 PM
I can't believe I missed this for so long - return as tab????
That saves a lot of cancelclose business. good tip.
Title: Re: how do i stop "return" from closing my form
Post by: Fred Tomke on March 17, 2014, 05:19:44 AM
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