My First Doc Contribution

Dan Shafer dshafer at yahoo.com
Tue Apr 10 23:59:36 UTC 2001


--- Steve Gilbert <steven.l.gilbert at lmco.com> wrote:
> Dan Shafer wrote:
> > 
> > I went to make the changes you suggested. Switching from using an IV to
> using
> > the Text's numericValue has an unfortunate side effect: the display of the
> > Text's value loses its font information every time it is changed. Any
> > suggestions?
> 
> Actually I just kept the IV idea and created it against the Playfield,
> then the rest works as advertised and you can do away with the TextMorph
> since it just served as a place holder for the instance variable
> anyway.  This is easier to do from scratch but I got to see an
> interesting warning as I renamed the TextMorphs' instance variable to
> something else and then created the one in the Playfield.

Aha! So the TextMorph was just a place-holder for the IV. That's why deleting
it didn't do anything nasty. This stuff gets interestinger and
interestinger....
> 
> Steve Gilbert
> 


__________________________________________________
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