Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable a shortcut key in a command handler or filter use code like this:

   Define_Com Class(#PRIM_STPG) Name(#CtrlF7) Parent(#COM_OWNER) Shortcut(Ctrl+F7)

Evtroutine Handling(#CtrlF7.Pressed)
#Sys_web.Alert Caption('Ctrl-F7 used')
Endroutine

The shipped sample application Short Cut and Function Keys demonstrates these techniques.