[Newbies] How can I prevent a new Morph from being stepped?

Sean P. DeNigris sean at clipperadams.com
Thu Jun 3 22:46:05 UTC 2010


My TextMorph subclass's>>step seems to be getting called before the object is
ready - or at least that's what I pieced together from stepping through the
debugger.

I tried adding the following to initialize :
	self stop.
	self stopStepping.
But step is still called.

Can I prevent the object from being stepped out of the gate, until I turn
stepping on later?

Here is the code:  http://forum.world.st/file/n2242459/MorphicSPD-spd.1.mcz
MorphicSPD-spd.1.mcz 
To cause the error, Doit: GrowableTextMorph new openInWorld.
The specific error is: 'UndefinedObject(Object)>>doesNotUnderstand:
#withIndexDo:'

Thanks.
Sean
-- 
View this message in context: http://forum.world.st/How-can-I-prevent-a-new-Morph-from-being-stepped-tp2242459p2242459.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


More information about the Beginners mailing list