et to 10.
So, the timer control always runs.
-Fernando
-- Original Message ---
From: richard terry
To: mailing list for gambas users
Sent: Wed, 1 Apr 2009 07:45:35 +1100
Subject: [Gambas-user] Timer question
> I want to be able to reset the timers time to 0 at will, without
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 ti
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 t
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 progress to
execute
>
> that is pretty
I use timers alot in the game I am writing.
I just use timer1.delay=5
that is pretty close to immediate action. then i rest the delay later
JB
richard terry-5 wrote:
>
> 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 ke
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.