What Morph to Use?

Dan Shafer dshafer at yahoo.com
Fri Mar 2 09:00:21 UTC 2001


I thought it would be fun to see if I could create a counter with three buttons
and a readout. (The one I used in my early Smalltalk books and that has been
done and re-done lots of times.) But I wanted to see if I could do it entirely
with direct manipulation of Morphs.

The problem is I can't find a built-in Morph that displays a numeric value and
understands how to add to and subtract from itself. I know how to do this with
a bit of textual scripting using TextMorph or StringMorph but other
promising-sounding Morphs (like the tantalizing UpdatingStringMorph) don't seem
to work.

I know I could create such a Morph and I will if that's the best way to
approach this but I was sort of hoping to use this as a Tutorial and if the
user has to build a new Morph as a part of the construction, it's not going to
seem very entry-level.

Thoughts?

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/





More information about the Squeak-dev mailing list