[squeak-dev] Mouse button tester question

Bob Arning arning315 at comcast.net
Tue Apr 4 15:32:02 UTC 2017


Did you want to change it to blue AND the halo appears? Or just go to 
blue and no halo?


On 4/3/17 2:19 PM, H. Hirzel wrote:
> Hello,
>
> http://wiki.squeak.org/squeak/2332  'Mouse button tester'
>
> has
>
>      m := Morph new.
>      m on: #mouseDown send: #value: to:[:evt|
> 	evt redButtonPressed ifTrue:[m color: Color red].
> 	evt yellowButtonPressed ifTrue:[m color: Color yellow].
> 	evt blueButtonPressed ifTrue:[m color: Color blue]
>         ].
>      m openInWorld.
>
> red and yellow button work, but the blue button brings up the halo as
> it is noted on the wiki page (tested with a three button mouse).
>
> I wonder if there is a way to make the change of the button to blue possible?
>
> --Hannes
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170404/a03d112b/attachment.html>


More information about the Squeak-dev mailing list