Click
Last updated
Last updated
Click animation is the type of animation in which users' mouse events are programmed on the mimic screen. In this animation type, you can write scripts based on mouse on-click, click-down, click-up, mouse over events and link set operations.
As shown in Figure 1, when you open the click animation form for a selected object on the mimic screen, you will be presented with a description form for four mouse events. These are;
Mouse on-Click
Mouse on-Down
Mouse on-Up
Mouse over
Depending on these events ;
Expression
Collection
Set
you can perform above operations.
The On-Click event includes on-Down and on-Up events. You can make push buttons by using On-Down and On-Up events together.
With Click-Expression, you can write a custom expression based on the mouse event of an object.
As you can see in Figure 2, when a mouse-click is done on an object, a javascript that we want to invoke is written. When this script is clicked on the object, it sends "Hellow World" as an information message to all users. (See Notification). Reads the variable named "Increaser" and increases its value by 5.
With Click-Collection, you can have a ready expression run in the expression library based on the mouse event of an object. (See Expressions).
As shown in Figure 3, we can select one of the ready expressions from our expression library to link to our mouse event.
With Click-Set, you can run a set operation based on an object.
As you can see in Figure 4, when you click on an object, you can select the set operation you want to run.
Set-Auto : Sets the value entered by default to a variable.
Set-Manual : Allows you to change the value of a variable via Num-Pad.
Set-Yes/No : Allows confirmation of a variable value from the user before it is set as the default value.
The notification checkbox in the Set Operation forms allows the user to send messages to the connected users and set them to log records when the set operation is performed.