Timer
(gb)
This
class implements a timer
object.
A timer object raises events regularly, each time it is triggered.
The amount of time between each
event is specified by the
Delay خصائص.
Symbols
Example
This example demonstrates the usage of the Timer in a Console program.
' Gambas module file
PUBLIC hConsoleTimer AS Timer
PUBLIC SUB Main()
hConsoleTimer = NEW Timer AS "MyTimer"
hConsoleTimer.Delay = 1000
hConsoleTimer.Enabled = TRUE
END
PUBLIC SUB MyTimer_Timer()
PRINT "Hello Gambas"
END