how to make it apparent that a TextMorph's text (or
substringthereof) has been selected?
Alexandre Rousseau
alexr at mailsnare.net
Tue Nov 13 15:42:41 UTC 2007
Thanks. That did it.
Cheers
Alex
On 13-Nov-07, at 6:49 PM, Gary Chambers wrote:
> You'll need to implement
>
> handlesMouseOver: anEvent
> "Answer true if we want to receive mouseEnter and mouse Leave
> events."
>
> ^true
>
> and update your mouse enter code with
>
> mouseEnter: evt
> self takeKeyboardFocus.
> self editor selectAll.
> self changed
>
More information about the Squeak-dev
mailing list
|