Consultor Eletrônico



Kbase P123784: What is the order of precedence for trigger execution.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/7/2007
Status: Unverified

GOAL:

What is the order of precedence for trigger execution.

FIX:

Triggers are defined as event/object pairs. Events may thought of in two types: ACTIONS and FUNCTIONS.

An ACTION consists of low-level events such as 'MOUSE-DOWN' or hitting a particular key on the keyboard such as 'B' or 'CTRL-F'.

A FUNCTION consists of high-level events such as 'GO' or 'CHOOSE'.

The order of precedence in which triggers are executed is as follows:

1) ACTION
2) FUNCTION
3) Broader keyboard events such as ANY-KEY, ANY-ASCII or ANY-PRINTABLE
4) 'ANYWHERE' trigger in Parent such as 'ON event IN FRAME X ANYWHERE DO: ... END.'
5) System Trigger such as 'ON event ANYWHERE DO:... END.'

Note: The cascading of triggers does not occur. Once a trigger is chosen to execute, no additional triggers are executed for that particular event.