Page 1 of 1

Preventi JQDialog from closing on Enter key down

PostPosted: 07 Oct 2019 16:42
by Davide
Hello,
I am working with Delphi 10.3.2, IW 15.1.4, IWCGJQuery Suite 4.1.0.21.
When I press "Enter" on my keyboard the JQDialog which is shown by MyDialog.Visible := True close without firing any event (onClose, onBeforeClose). I tried to disacle the Closable and CloseOnEscape flag but nothing changed.
I need to disable this behaviour or at least be able to intercept the JQDialog closing to verify all the fields were compiled.
How can I do it?
Why pressing the "Enter" key close the dialog?

Thank you,
Davide

Re: Preventi JQDialog from closing on Enter key down

PostPosted: 11 Oct 2019 15:47
by Alexander Bulei
Hi Davide,

Maybe you have the focus on close button...
Anyway, please send the simple testcase project.

Best Regards.