[Q] doubleclickable and dragable morph: how?
andreas.raab at gmx.de
Thu May 1 02:17:29 UTC 2003
myMorph on: #startDrag send: #onDrag to: myMorph.
myMorph on: #doubleClick send: #onDoubleClick to: myMorph.
Note that #handlesMouseDown: should be never ever overridden unless you know
EXACTLY what you are doing. You're starting to infere with some deep down
notions of Morphic and likely to break more than you (think you) fix.
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On
> Behalf Of Rudi Angela
> Sent: Wednesday, April 30, 2003 8:05 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: [Q] doubleclickable and dragable morph: how?
> I have a Morph subclass, which is dragable by default. Now I
> would also like to make it doubleclickable. But if I start
> adding the methods #handlesMouseDown, etc, then apparently I
> loose the dragability. Am I doing something wrong? Or does
> Morphic not support this combination of behaviors?
> Rudi Angela
> Try AOL and get 1045 hours FREE for 45 days!
> Get AOL Instant Messenger 5.1 for FREE! Download Now!
More information about the Squeak-dev