Question about ETOYS and Morphs

Bob Arning arning at charm.net
Tue Apr 9 10:18:27 UTC 2002


On Tue, 9 Apr 2002 01:16:35 -0500 "Michael Garrett" <garrett.technologies at worldnet.att.net> wrote:
>Once I create some SketchMorphs using the sketch editor, how can create a
>subclass that includes the
>image so that I can instantiate the SketchMorph ( and its form )and interact
>with it directly from smalltalk code??

Michael,

Unless there is more than meets the eye here, you don't need a subclass. Try this:

| myForm mySketch |
myForm _ Form dotOfSize: 70.
mySketch _ SketchMorph withForm: myForm.
mySketch openInWorld

Cheers,
Bob



More information about the Squeak-dev mailing list