[Gambas-user] Timer question

Doriano Blengino doriano.blengino at ...1909...
Wed Apr 1 10:12:43 CEST 2009


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 progress to 
> execute
>   
It could work; if it does'nt, try to stop and start in sequence:

    timer1.stop
    timer1.start

If you put sometthing like this in a keyPress event, the timer should 
fire after the keyboard activity ceased.
In the timer event itself, put a Timer1.stop statement.

Regards,
Doriano




More information about the User mailing list