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.

Details

  • 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.

Examples

Basic Examples  (2)

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 key is depressed:

In[1]:=
Click for copyable input
Out[1]=

See Also

PassEventsDown  EventHandler

Introduced in 2007
(6.0)