It is a tool that runs the 'At the Counter' actions that are defined to it at the end of the specified period. The value of the counter element can be changed at run time. This is done by giving the value update action-value of " + " or " - ".
Counter tool icon at Toolbox
How it looks like on the Canvas
Properties
Properties of the form tool;
-
Text Size: Sets the size of the tool.
-
Help Text: It is the text that is entered for comment when the mouse is placed on the tool.
-
Color: Edits the color of inside the tool and / or the text inside the tool.
-
Height / Width: Adjusts the height and width of the tool.
-
From Left / Top: Adjusts the distance of the tool from the left and top.
-
Start (seconds): Enter the number of seconds to start the timer.
-
Display: Makes the tool not appear on the screen. If the Display area is chosen as No, it makes this tool not seem on the client screen. Otherwise, the opposite happens.
-
Repeat When Finished: This is the field that allows it to restart when the specified time expires. Otherwise, the counter will run once. Repeat when the finished property is No, the countdown starts one time. Repeat when the finished property is Yes, the countdown starts over and over again.
Actions
-
In The Counter Completion: Assign an “Action” as on counter completion handler. For more information please click here.
Examples Used
To adjust the starting time for countdown, enter a number as seconds. You can write “30” in the Start area.
Client view on screen
For example; When the countdown is over, the document is saved. This action runs it at the end of the countdown all time if Repeat when the finished property is chosen as Yes.
Another example; When the form is opened action with Update Value operation makes the counter starts according to the given time in the SQL Query area. (Value Area is the counter name.)
The result of this action is as below.
Client view on screen