Timer
(gb)
This
Klasë implements a timer
Objekti.
A timer object raises events regularly, each time it is triggered.
The amount of time between each
Ngjarje is specified by the
Delay Vetia.
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