view iterations

Gary McGovern zeppy at australia.edu
Sat Mar 13 15:55:02 UTC 2004


Can anyone tell how to iterate with the view script.
I have a page in a bookmorph with 60 textmorphs embedded. Which is the most
efficient way to give all of the textmorphs their colour, mouseenter etc
without doing each one individually.

I have the need for extra events for the viewer scripts such as double
click. How ?

I did the same project the traditional mvc way with both Java and Squeak.
They took ages, and were complex, and difficult. I did it the viewer way
last night (the first time in ages I've done anything that way) and I can
hardly believe how much easier it was. Hours instead of weeks. I suppose it
pays to do the hard way in the long run.

By the way I found a problem with the web page morph.

Thanks,
Gary






More information about the Squeak-dev mailing list