May be this is a stupid question but I'm not able to intercept the Enter key in my Inno setup pages. :-(
I'm able to intercept other keys using
WizardForm.OnKeyPress:=@MyFormKeyPress
or
WizardForm.OnKeyDown:=@MyFormKeyDown
into the InitializeWizard() and setting the WizardForm.KeyPreview
property to True also.
But... what about the Enter key? It seems it's handled by Inno before the OnKeyPress/OnKeyDown events, so, for example, the NextButtonClick() is always executed before.
To be more clear, what I wish to do is to use only the mouse (not the Enter key) to switch from a page to another by clicking on the "Next" button.
Thanks to all in advance.