2.285 .play
This attribute controls the animation. It starts (.path=true) or stops (.path=false) the animated display.
Definition
-
Data type
boolean
-
Access
get, set
-
changed event
yes
-
C
Data type: DT_boolean
-
COBOL
Data type: DT-boolean
-
Classification
object-specific attribute
-
Objects
Value range
- true
- The animation is played.
- false
- The animation is paused.
Object Specific
If the dmw_moviebutton object is visible, a start or finish event is sent when its state changes. When playing a GIF animation, the change to .play=false occurs as soon as the number of repetitions (attribute .loopcount) is reached.
Remarks
For SVG animations, controlling the animation with IDM platforms using Qt 5.11 and Qt 5.15 is not possible. It will run endlessly. A WSI warning will be issued when dynamically changing this attribute in the visible state.
See also
Object dmw_moviebutton