ANIMATION
Executes the equivalent action of a user clicking on a control zone type animation.
WebVue support - No. Returns an unsuccessful code if used in this context.
Mode | Mnemonic | Syntax |
1 |
EXECUTE |
Syntax 1
ANIMATION(Mode, Window, Branch, Identity)
Return type: INTEGER.
Argument |
Meaning |
Window |
The name of the window that contains the animation to be used. Type STR. |
Branch |
The branch (if any) of the window. Use "*" to indicate the current branch of the program. Type STR |
Identity |
The identity of the animation in the specified window. Type STR. |
Execution
Mode |
Mnemonic |
Action |
1 |
EXECUTE |
Execute the equivalent action of a User clicking on a control zone type animation. |
|
|
Returns: 1 if OK, else 0. |
Example
This example initiates an action from an animation. To use it:
- Create a mimic called MENU.
- Draw a button in the mimic and configure its identity using the Graphic Explorer as BUTTON01.
- Add a control zone type animation (for example Send Bit) to the button.
SUB AnimationExecute()
ANIMATION("EXECUTE","MENU","","BUTTON01");
END SUB