|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
$ControlActiveSetting
$ControlActiveSetting
is a symbol whose value is True if it is evaluated while a control is active, or in certain other previewing situations.
DetailsDetails
- ControlActive[act, norm] is effectively equivalent to If[$ControlActiveSetting, act, norm].
- Block can be used to localize the setting for $ControlActiveSetting.
ExamplesExamplesopen allclose all
Basic Examples (2)Basic Examples (2)
Detect when controls in Manipulate are being used:
| In[1]:= |
| Out[1]= | Play Animation ▪![]() |
Most plot functions use $PerformanceGoal to control visualization quality:
| In[1]:= |
| Out[1]= |
Hence the default behavior is effectively the following:
| In[2]:= |
| Out[2]= | Play Animation ▪![]() |
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


