Consultor Eletrônico



Kbase 12751: Order of Precedence for Trigger execution
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Order of Precedence for Trigger execution

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.

Progress Software Technical Support Note # 12751