, the timer control always runs.
-Fernando
-- Original Message ---
From: richard terry rte...@pacific.net.au
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Wed, 1 Apr 2009 07:45:35 +1100
Subject: [Gambas-user] Timer question
I want to be able to reset the timers
richard terry ha scritto:
On Wed, 1 Apr 2009 09:20:37 am jbskaggs wrote:
I use timers alot in the game I am writing.
I just use timer1.delay=5
that wasn't the question - I wanted to re-set the timer to stop the event
triggering until the key action pauses and then let the timer
If I understand what you mean this is what I did to be able to pause and
start a timer as the same spot and continue.
Mind you I am just beginning to understand this stuff. So bear with the
inefficient coding.
' Gambas class file
PUBLIC a AS Integer ' for seconds
PUBLIC i AS Integer ' for new
I want to be able to reset the timers time to 0 at will, without stopping the
timer, so that I can link it to the keypress of a textbox. Every time the
user hits a key, the place the timer is up to is reset, once they lag, then
the timer event fires.
Dosn't seem to be such a property.
Thanks.