IntervalTimer
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 07 September 2020 12:53 PM

Syntax

Public Sub IntervalTimer(vVal As Long)

Description

This function used to set the time interval for the OnTimer() function in milliseconds.

Parameters

Key Description 
vVal  Milliseconds time interval,value of type long.

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