Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Dynamic Interactivity > Interactive Manipulation > Options & Styling for Interactive Manipulation > ControlActive >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF