Posso cambiare INTERVAL di un timer attivato?
Grazie
function MyTimerAction()
static nSeconds := 0
if nSeconds++ > GetInterval()
nSeconds = 0
... code to execute ...
endif
return nil
function GetInterval()
do case
case ...
return 10 // wait 10 seconds
case ...
return 20 // wait 20 secondss
...
return 60 // wait 60 seconds
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 54 guests