[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] To wish list...
From:       Fabien Bodard <gambas.fr () gmail ! com>
Date:       2010-08-26 8:34:34
Message-ID: AANLkTinMD7qPDTY=_eePoa4dEYFZp6A2aMaUc4_W_aYr () mail ! gmail ! com
[Download RAW message or body]

i just want to say that i've queried something like that 3 week ago :)

Something that allow to delay mouse events ... for exemple for mouse
there is two case ...

Mouse is in the widget during a time ... or mouse button is pressed
during a time ... and for keyboard  just button is pressed during a
time.

But how to make that usable ?

i use timer for that

On mouse down -> timer.start

On mouse up -> timer stop
on mouse leave -> timer stop

timer timer -> do what you need


timer.delay = 1000

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic