OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Rakesh Rao on April 12, 2021, 07:40:38 AM

Title: ENTER on a text box closes the dialog
Post by: Rakesh Rao on April 12, 2021, 07:40:38 AM

Dear Support,

I created a modeless dialog and if I enter a value within a text box and hit ENTER, the dialog box closes. If I press the TAB key, it works as expected.

How do I prevent an ENTER from exiting the dialog box.

Best Regards
Rakesh Rao
Title: Re: ENTER on a text box closes the dialog
Post by: owenwengerd on April 12, 2021, 10:47:27 AM
I recall that Fred Tomke posted a solution for this in the past, but I didn't find it in a quick search.
Title: Re: ENTER on a text box closes the dialog
Post by: roy_043 on April 12, 2021, 12:09:10 PM
https://opendcl.com/forum/index.php?topic=1061.0
Title: Re: ENTER on a text box closes the dialog
Post by: Rakesh Rao on April 12, 2021, 07:21:05 PM
Thank you guys. Will try this out.