[Newbies] Re: How to reopen a collapsed Morph from another Morph?
Fredrik Alink
falink at free.fr
Fri Aug 14 09:58:52 UTC 2015
Mateusz Grotek wrote
> .......
> collapse
> CollapsedMorph new beReplacementFor: self
> .......
> |morph collapsedMorph|
> morph := Morph new.
> "collapse it"
> collapsedMorph := morph collapse.
> "uncollapse it"
> collapsedMorph collapseOrExpand.
> .......
That will turn my morphA into a CollapsedMorph, where originally it is a
subclass of a subclass of Morph, thus loosing morphA"s behaviour.
--
View this message in context: http://forum.world.st/How-to-reopen-a-collapsed-Morph-from-another-Morph-tp4842627p4842727.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
More information about the Beginners
mailing list