How to update the appearance of a morph in mid-method?

Jon Hylands jon at huv.com
Tue Dec 28 14:32:33 UTC 2004


On Tue, 28 Dec 2004 09:16:20 -0500, Jon Hylands <jon at huv.com> wrote:

> The only reason your code works is because #color: calls #changed itself.

Note that #borderColor: also calls #changed, so the original poster does
not need to send #changed.

Most of the stuff I do is with custom morphs, and I generally never make my
morphs auto-redraw, so I always end up sending #changed after I have made
all the changes I need to.

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com



More information about the Squeak-dev mailing list