API Panel.Position.StopAnimate: Difference between revisions
Appearance
No edit summary |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{| class="mtx-class-macrotable wikitable" | |||
|- | |||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | |||
| width="90%" class="mtx-class-macrohead" | '''StopAnimate''' | |||
|- | |||
[[ | | colspan="2" | Stops all animations started by this component | ||
: | |- | ||
|- | |||
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE | |||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | |||
|} | |||
== | |||
'' | |||
== | |||
'' | |||
| Line 28: | Line 22: | ||
===Calling in a calculation=== | ===Calling in a calculation=== | ||
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.StopAnimate()</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Position.StopAnimate()</pre> | ||
Latest revision as of 14:11, 13 July 2026
| StopAnimate | |
| Stops all animations started by this component | |
| Return | |
Detailed description
This call stops all animations invoked by the caller of the routine through Animate. The animations are stopped by jumping each animation to the end of its sequence.
A component can not stop another components animations, and this can not be used to exit leaving an animation partially complete. For this level of control the Morph call should be used in a timer.
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Position.StopAnimate()