[Q] doubleclickable and dragable morph: how?
Ingo Hohmann
ingo at 2b1.de
Thu May 1 19:41:17 UTC 2003
Hi Andreas,
I can only second what Hernan already said, use of #handlesMouseDown is
described in at least some of the tutorials.
Now, if I use your scheme how do I later catch these events? Do I still
add #MouseDown ?
Andreas Raab wrote:
> Try:
>
> 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.
>
> Cheers,
> - Andreas
Kind regards,
Ingo
More information about the Squeak-dev
mailing list
|