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:

By disabling PassEventsUp, prevent the outer EventHandler action from being triggered:

Allow the outer EventHandler action when the key is depressed:

Wolfram Research (2007), PassEventsUp, Wolfram Language function, https://reference.wolfram.com/language/ref/PassEventsUp.html.

Text

Wolfram Research (2007), PassEventsUp, Wolfram Language function, https://reference.wolfram.com/language/ref/PassEventsUp.html.

CMS

Wolfram Language. 2007. "PassEventsUp." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PassEventsUp.html.

APA

Wolfram Language. (2007). PassEventsUp. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PassEventsUp.html

BibTeX

@misc{reference.wolfram_2024_passeventsup, author="Wolfram Research", title="{PassEventsUp}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/PassEventsUp.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_passeventsup, organization={Wolfram Research}, title={PassEventsUp}, year={2007}, url={https://reference.wolfram.com/language/ref/PassEventsUp.html}, note=[Accessed: 22-November-2024 ]}