I do my timers like this by clicking checkbox function is called and timer is set up.
There is a trouble cause I got so many Timers, 20 like this below and I can see if they is launched 5 timers program starts freezing and often crashing.
I know it takes memory but is is right way to do timers like that or what should i do?
Case $checkerSS
If GUICtrlRead($CheckerOne) = 1 Then
$ss = _Timer_SetTimer($Form1,4000,"checkScreen")
Else
_Timer_KillTimer ($Form1,$ss)
EndIf
Case $checkerPos
If GUICtrlRead($DiscAlert) = 1 Then
$disc = _Timer_SetTimer($Form1,20000,"checkPosition")
Else
_Timer_KillTimer ($Form1,$disc)
EndIf
Case $checkerVars
If GUICtrlRead($AlertPlayerPos) = 1 Then
$ap = _Timer_SetTimer($Form1,15000,"checkVars")
Else
_Timer_KillTimer ($Form1,$ap)
EndIf