CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Preventi JQDialog from closing on Enter key down

by Davide » 07 Oct 2019 16:42

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
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 11 Oct 2019 15:47

Hi Davide,

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

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQDialog

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.