[Gambas-user] Timer backwards?
Bruce
adamnt42 at gmail.com
Fri Mar 5 12:39:26 CET 2021
On 5/3/21 8:12 pm, Rolf-Werner Eilert wrote:
> Just stumbled over this one - there isn't a property like
> Timer.Backwards or Timer.StopWatch, right?
>
> Might be a practical thing to have:
>
> Timer.Backwards as Boolean (to set stopwatch mode)
> Timer.Start as Integer (in milliseconds to set the start value)
> Timer_Stop - event to trigger some action on counter 0
>
> Setting Timer.Start > 0 could start the Timer from code.
>
> Regards
> Rolf
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
I cant see the point, whether you count up or down the effect is the same.
Dim Fuse as new Timer
Fuse.Delay=60*100
Sub Fuse_Timer()
Planet.Explode
End
regards
Vogon.Commander bruce
More information about the User
mailing list