[Gambas-user] Timer question

nando nando_f at ...951...
Wed May 4 17:13:56 CEST 2005


Example:

...
Timer1.Delay = 4000
Timer1.Enabled = True
....

Question:

During the 4 seconds that the Timer is ticking...
what is the appropriate way to reset the count to start over?

I know I could Disable then Enable, but that is 2 lines of code.
Would

  Timer1.Delay = 4000

restart it while enabled?

-Fernando




More information about the User mailing list