Kbase 10761: Triggers and UNDO, LEAVE, NEXT, RETRY, RETURN
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Triggers and UNDO, LEAVE, NEXT, RETRY, RETURN
When defining a trigger to perform the following actions, the action
is performed on the trigger itself since it is the innermost block
of code:
UNDO
RETRY
LEAVE
RETURN
NEXT
Example:
DEFINE BUTTON btn-a LABEL "Button A".
ON SELECTION OF btn-a UNDO,RETRY.
REPEAT:
ENABLE btn-a.
WAIT-FOR SELECTION OF btn-a.
DISABLE btn-a.
END.
Selecting BTN-A will cause the trigger to be undone and re-tried,
not the repeat loop.
Progress Software Technical Support Note # 10761