[Newbies] how to create multiple colorforms from a master colorform

Jerome Peace peace_the_dreamer at yahoo.com
Mon Mar 2 05:39:36 UTC 2009


Hi mstamba

SketchMorphs can be resized.

SketchMorph new form: cardForm .




--- On Sun, 3/1/09, mstramba <mikestramba at gmail.com> wrote:

> From: mstramba <mikestramba at gmail.com>
> Subject: Re: [Newbies] how to create multiple colorforms from a master colorform
> To: beginners at lists.squeakfoundation.org
> Date: Sunday, March 1, 2009, 8:38 PM
> Gulik,
> 
> Thanks !   That works great !
> 
> I was hoping there was a nice simple little method /
> incantation like that
> :)
> 
> Next problem ... ;)
> 
> ImageMorph doesn't seem to be resizable.  
> 
> I tried sending the width:, height: messages:, but they
> have no effect.
> 
> I also tried adding the 'eachCard' as a submorph to
> a "table" morph :
> 
> table : Morph new openInWorld
> table addMorph: eachCard
> 
> ..  then tried resizing the 'table' morph either
> interactively with the
> halos or by sending table width:.
> 
> Is there a way to make the ImageMorph resizeable ? ... or
> by using some
> other type of morph ?
> 
> Mike
> 
> 
> Michael van der Gulik-2 wrote:
> > 
> > 
> > eachCard := masterForm copy: (0 at 0 corner: 840 at 504).
> > 
> > 
> > Gulik.
> > 
> > -- 
> > http://gulik.pbwiki.com/
> > 
> > _______________________________________________
> > Beginners mailing list
> > Beginners at lists.squeakfoundation.org
> >
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> > 
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/how-to-create-multiple-colorforms-from-a-master-colorform-tp22276928p22280664.html
> Sent from the Squeak - Beginners mailing list archive at
> Nabble.com.
> 
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


      


More information about the Beginners mailing list