[Gambas-user] To wish list...
Fabien Bodard
gambas.fr at ...626...
Thu Aug 26 10:34:34 CEST 2010
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
More information about the User
mailing list