Simulating a double click for a tool?
Posted: Sun Feb 26, 2006 11:31 am
Has anyone tried this or would this be possible?
Of course I am assuming a double click is not already available in lua or Moho... I didn't see one in the reference.
-------------------
It would have to be some kind of timer that could determine how quickly two mousedown/mouseups have occurred.
A timer that expires very quickly after the "first click" but if multiple mousedowns within that time a variable is assigned which would activate a different action within a tool function thingy.
I would like to add something like this in the modified universal select tool for selecting an entire mesh by double clicking.
This could add a lot of "extra" gizmos to existing tools... er... if it works.
------------------
I will try to play around with this and see what happens.
-Vern
Of course I am assuming a double click is not already available in lua or Moho... I didn't see one in the reference.
-------------------
It would have to be some kind of timer that could determine how quickly two mousedown/mouseups have occurred.
A timer that expires very quickly after the "first click" but if multiple mousedowns within that time a variable is assigned which would activate a different action within a tool function thingy.
I would like to add something like this in the modified universal select tool for selecting an entire mesh by double clicking.
This could add a lot of "extra" gizmos to existing tools... er... if it works.
------------------
I will try to play around with this and see what happens.
-Vern