Freeze

Description: Freezes all or selected animated graphics in a window.
Returns: Nothing
Usage: Script or steady state.
Function Groups: Graphics,  Window
Related to: SelectArea | SelectGraphic | UnselectGraphics
Format: Freeze(Object, Scope, Mode)
Parameters:  
Object
Required. Any expression for the object in the window that indicates the selected list to use.
Scope
Required. Any logical expression. If true, all graphics in the window are frozen. If false, only selected graphics in the window are frozen.
Mode
Required. Any numerical expression that controls the freeze, as shown in the following table

Mode

Control Action

0

Stop animation

1

Start animation

2

Toggle animation

Comments: A graphical object that is frozen is no longer updated. It cannot be selected.

Example:

Freeze(Self() { Act upon graphics drawn by current module },
       1 { Freeze everything drawn by this module }, 
       0 { Stop the animation on the frozen objects });