Button tracking Morph

Bert Freudenberg bert at freudenbergs.de
Thu May 24 16:07:16 UTC 2007


On May 24, 2007, at 17:58 , subbukk wrote:

> On Thursday 24 May 2007 8:07 pm, Bert Freudenberg wrote:
>> You should never use Sensor in Morphic, this is from MVC days.
>>
>> Use Morphic events: http://wiki.squeak.org/squeak/2477
>
> I tried the on:send:to: method, but the events get sent only when  
> the cursor
> is over the Morph. The button should be able to reflect the status  
> of button
> presses anywhere in World.

See addEventListener:

- Bert -





More information about the Squeak-dev mailing list