Antwise community forums
KeyPress - Escape - Printable Version

+- Antwise community forums (https://forums.antwise.com)
+-- Forum: Antview (https://forums.antwise.com/forumdisplay.php?fid=11)
+--- Forum: Antview for Windows (https://forums.antwise.com/forumdisplay.php?fid=12)
+--- Thread: KeyPress - Escape (/showthread.php?tid=239)



KeyPress - Escape - carlos@agpsoftware.com - 2026-02-16

Hi,

I have my antview control inserted in a VFP form and want that when it has focus, escape key run as in my other controls. But i don't know how to catch the key. I don't see any 'keypress' event or similar.
Thanks


RE: KeyPress - Escape - wila - 2026-02-16

Hi CYZ,

Have a look at OnAcceleratorKeyPressed.
Let me know if that doesn't help.

--
Wil


RE: KeyPress - Escape - carlos@agpsoftware.com - 2026-02-16

(2026-02-16, 16:16:42)wila Wrote: Hi CYZ,

Have a look at OnAcceleratorKeyPressed.
Let me know if that doesn't help.

--
Wil

Thanks. I'll test. In the meanwhile, i used a script in the html page with  addEventListener