Knowledgebase:
EnableTimer
Posted by Mohammad Rahhal, Last modified by Mohammad Rahhal on 27 July 2016 09:33 AM

Syntax

Public Sub EnableTimer(vVal As Boolean)

This function used to enable or disable the OnTimer() function.

Parameters

Key Description 
vVal Used to enable the timer if it equal true or disable timer if it equal false, value of type Boolean.

Return value

No returned value.

Sample

Public Sub main()

IntervalTimer 60000 'Set the interval to execute OnTimer every 1 minute.

EnableTimer true    'Enable the OnTimer function

End Sub

Public Sub OnTimer()

AlertMessage "An Alert Message will appear every one minute"

End Sub


See Also


Back to VTL Client Script Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions