[Q] doubleclickable and dragable morph: how?
tblanchard at mac.com
tblanchard at mac.com
Fri May 2 05:56:44 UTC 2003
Ned,
You ROCK!
Only I put the wait code in the MouseClickState handleEvent:from:
method (because I'd guess its a universal problem).
....
localEvt isMouseDown ifTrue:["double click"
aHand resetClickState.
[ aHand lastEvent redButtonPressed ]
whileTrue: [ World doOneCycleNow ]. "Ned's wonderhack - wait until
button is up"
self doubleClick.
^false]].
On Thursday, May 1, 2003, at 11:32 PM, Ned Konz wrote:
> [ anEvent hand lastEvent redButtonPressed ]
> whileTrue: [ World doOneCycleNow ]. "wait till button released"
More information about the Squeak-dev
mailing list
|