Kbase 14142: Attaching Same Accelerator Keys to Multiple Windows in App
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Attaching Same Accelerator Keys to Multiple Windows in App
If you have an application with multiple windows and you want to
have the same accelerator key attached to each window, but want
the accelerator key to do something different depending on what
window the user pressed it in, here is how you do it.
NOTE: This example assumes that you want to trap the "F12" key
in each window.
Enter the following code in the "Main Block" section of the
Section Editor for each window that you want to have the
accelerator key defined in:
ON F12 OF {&WINDOW-NAME} ANYWHERE
DO:
/* INSERT CODE TO BE EXECUTED HERE */
END.
Progress Software Technical Support Note # 14142