Sensor vs. Hand (was: Re: Squeak-3.7: Title-Bar Buttons)

Trygve Reenskaug trygver at ifi.uio.no
Sun Feb 22 15:40:38 UTC 2004


Andreas,
This may be good advice, except that ActiveHand (HandMorph) does not 
understand shiftPressed. I'm running 'Squeak3.6'.

regards
--Trygve


At 21.02.2004 19:13, you wrote:
>thanks for the advice I will change everything for my book.
>
>Stef
>
>On 21 févr. 04, at 18:52, Andreas Raab wrote:
>
>>
>>The bottom line of this is: If you are programming for Morphic, NEVER, NEVER
>>use Sensor. DO NOT EVER USE IT! Refer to the hand instead. Changing
>>TransferMorph>>step to say:
>>
>>step
>>     self shouldCopy: ActiveHand shiftPressed.
>>
>>entirely eliminates that problem (regardless of any error handler). Again,
>>if you write code for Morphic DO NOT REFER TO SENSOR! It will just #^@!
>>things up.
>>
>>Cheers,
>>   - Andreas


-- 

Trygve Reenskaug      mailto: trygver at ifi.uio.no
Morgedalsvn. 5A       http://heim.ifi.uio.no/~trygver
N-0378 Oslo           Tel: (+47) 22 49 57 27
Norway





More information about the Squeak-dev mailing list