BUILT-IN MATHEMATICA SYMBOL

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.

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples (2)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 Shift key is depressed:

In[1]:=
Click for copyable input
Out[1]=
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »