ENTER on a text box closes the dialog

Started by Rakesh Rao, April 12, 2021, 07:40:38 AM

Previous topic - Next topic

Rakesh Rao


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

owenwengerd

I recall that Fred Tomke posted a solution for this in the past, but I didn't find it in a quick search.


Rakesh Rao