Preventing pressure Enter key

Started by Emiliano, June 02, 2015, 01:47:56 AM

Previous topic - Next topic

Emiliano

Hello,
I made a Modeless Dialog.
Unfortunately when the user presses Enter (eg. After filling in a textbox) the dialog box is closed.
I would avoid this and force the user to press the "X" or the button "Close" placed on the form.

I have noticed that this happens only when the focus is on a TextBox

How can I do this?

owenwengerd

Owen Wengerd (Outside The Box) / ManuSoft