Kbase P54822: How to make a HELP event fire whether it is a UNIX or a WIN3
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/11/2003 |
|
Status: Unverified
GOAL:
How to make a HELP event fire whether it is a UNIX or a WIN32 session?
FIX:
Usually, the UNIX HELP event fires when the user presses the F2 key. In Windows, the HELP event usually fires when the user presses the F1 key. The following code will cause the HELP event to fire regardless of the operating system:
ON 'HELP' ANYWHERE
DO:
IF OPSYS = "UNIX" THEN
APPLY 'F2'.
ELSE IF OPSYS = "WIN32" THEN
APPLY 'F1'.
END.