Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Counter - property of object PmTimer

Description:
The counter that enables to limit the number of next timer runs.
Syntax:
Counter As Long
Calling:
n = oTimer.Counter
Values:
Counter > 0 - Value greater than 0 means the number of next timer runs. Each timer run automatically decreases the value of the counter by 1.
Counter = 0 - Value equal to 0 means that the timer won't be started.
Counter = -1 - Value equal to -1 means that the number of timer runs is unlimited (default).
Note:
Property access for read and write. The limited number of runs can be called by the StartEx with assigned nCounter parameter.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice