[squeak-dev] Mouse button tester question

H. Hirzel hannes.hirzel at gmail.com
Tue Apr 4 15:57:23 UTC 2017


On 4/4/17, Bob Arning <arning315 at comcast.net> wrote:
> Did you want to change it to blue AND the halo appears? Or just go to
> blue and no halo?

Whatever is easier. If it does not matter than change to blue only.

--Hannes

>
> 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
>>
>
>


More information about the Squeak-dev mailing list