This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ControlActive

ControlActive
evaluates to act if a control that affects act is actively being used, and to norm otherwise.
  • ControlActive can be used to switch between a faster computation to be done while controls like sliders are being moved, and a slower computation to be done once the controls are released.
  • ControlActive can also be used to trigger evaluation of norm when controls are released.
Change the display while controls are being used:
Change the display while controls are being used:
The arguments of ControlActive can be any expression:
Use ControlActive to switch between a low-resolution and a high-resolution version:
Only emit a sound when the manipulator is not actively used:
Use a lower sampling when actively manipulating:
By using the second argument of Dynamic, you can get an effect similar to ControlActive:
Plot functions effectively use ControlActive for the PerformanceGoal setting:
New in 6