$ControlActiveSetting
is a symbol whose value is True if it is evaluated while a control is active, or in certain other previewing situations.
Details
- ControlActive[act,norm] is effectively equivalent to If[$ControlActiveSetting,act,norm].
- Block can be used to localize the setting for $ControlActiveSetting.
Examples
Basic Examples (2)
Detect when controls in Manipulate are being used:
Most plot functions use $PerformanceGoal to control visualization quality:
Text
Wolfram Research (2007), $ControlActiveSetting, Wolfram Language function, https://reference.wolfram.com/language/ref/$ControlActiveSetting.html.
CMS
Wolfram Language. 2007. "$ControlActiveSetting." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$ControlActiveSetting.html.
APA
Wolfram Language. (2007). $ControlActiveSetting. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$ControlActiveSetting.html