[Q] how to set middle button = right button?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Q] how to set middle button = right button?

Bergel, Alexandre
Hello,

I am struggling in hiding morph halos completely. How can I achieve  
this simply ?
The swapMouseButton preference is getting close, but the presence of  
halos hampers the use for application end-users...

I tried to make InputSensor>>blueButtonPressed to false , but it does  
not work...

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.cs.tcd.ie/Alexandre.Bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply | Threaded
Open this post in threaded view
|

Re: [Q] how to set middle button = right button?

Javier Diaz-Reinoso
BobsUI (http://www.squeaksource.com/BobsUI) create an EmptyHaloMorph  
(subclass of HaloMorph) with addName null, then the morphs have in  
initialize:

   self haloClass: #EmptyHaloMorph.

and a null addHandlesTo:box:

On 07/03/2007, at 06:26, Bergel, Alexandre wrote:

> Hello,
>
> I am struggling in hiding morph halos completely. How can I achieve  
> this simply ?
> The swapMouseButton preference is getting close, but the presence  
> of halos hampers the use for application end-users...
>
> I tried to make InputSensor>>blueButtonPressed to false , but it  
> does not work...
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.cs.tcd.ie/Alexandre.Bergel
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>



Javier Diaz-Reinoso
Web: http://homepage.mac.com/javier_diaz_r/



Reply | Threaded
Open this post in threaded view
|

Re: [Q] how to set middle button = right button?

Lex Spoon-3
In reply to this post by Bergel, Alexandre
"Bergel, Alexandre" <[hidden email]> writes:
> I am struggling in hiding morph halos completely. How can I achieve
> this simply ?
> The swapMouseButton preference is getting close, but the presence of
> halos hampers the use for application end-users...
>
> I tried to make InputSensor>>blueButtonPressed to false , but it does
> not work...

Hey, Alex,

There's a wiki page about this general topic.  One thing it mentions
is "Preferences disableProgrammerFacilities" which gets rid of halos
and does other things besides.  Or at least, it used to work!  Reading
the code of it might give you hints, and anyway maybe you would be
interested in whatever else it does for end users.


   http://wiki.squeak.org/squeak/786


Of course, you could always insist that you have users of the future
and so they should be programmers!  Heheh.

Lex