This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
BUILT-IN MATHEMATICA SYMBOL|See Also »

PassEventsUp

PassEventsUp
is an option to EventHandler that specifies whether events handled by a particular event handler should be passed up to event handlers in outer expressions.
  • Possible settings are:
Truepass all events up
Falsepass no events up
Automaticpass events up if their action does not evaluate to False
  • With the setting PassEventsUp:>test, the expression test will be evaluated after the event handler has taken the action specified for the event it has handled.
By default, nested EventHandler actions are triggered upon the specified action:
By disabling PassEventsUp, prevent the outer EventHandler action from being triggered:
Allow the outer EventHandler action when the Shift key is depressed:
By default, nested EventHandler actions are triggered upon the specified action:
In[1]:=
Click for copyable input
Out[1]=
By disabling PassEventsUp, prevent the outer EventHandler action from being triggered:
In[2]:=
Click for copyable input
Out[2]=
 
Allow the outer EventHandler action when the Shift key is depressed:
In[1]:=
Click for copyable input
Out[1]=
New in 6