Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
key detection |
Thu, Mar 10 2016 2:16 PM | Permanent Link |
Matthew Jones | I'm looking at porting an existing application to the browser. It currently
uses things like Alt-J to switch modes. Can I detect these in EWB? Or even Ctrl variants? And of course stop any default actions. -- Matthew Jones |
Thu, Mar 10 2016 2:51 PM | Permanent Link |
Raul Team Elevate | <<
I'm looking at porting an existing application to the browser. It currently uses things like Alt-J to switch modes. Can I detect these in EWB? Or even Ctrl variants? And of course stop any default actions. >> It can definitely capture keypresses. Form OnKeyDown event gets the key as well as states for Shift, Ctrl and Alt. Default actions - i don't believe so (my quick test showed browser shortcut keys still took precedence). Raul |
Fri, Mar 11 2016 4:52 AM | Permanent Link |
Ronald | Maybe you also need to set TForm.KeyPreview to True.
Ronald |
This web page was last updated on Wednesday, October 9, 2024 at 05:37 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |