Re: [Gambas-user] Timer question

2009-04-02 Thread nando
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

Re: [Gambas-user] Timer question

2009-04-01 Thread JB Skaggs
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

Re: [Gambas-user] Timer question

2009-04-01 Thread Doriano Blengino
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

Re: [Gambas-user] Timer question

2009-03-31 Thread richard terry
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

Re: [Gambas-user] Timer question

2009-03-31 Thread jbskaggs
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

[Gambas-user] Timer question

2009-03-31 Thread richard terry
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.