> From: Fredrik Alink > Sent: Thursday, August 13, 2015 2:16 PM > To: [email protected] > Subject: [Newbies] How to reopen a collapsed Morph from another Morph? > > Hi, > > Let me shortly introduce myself. > I'm new in this Forum, but not at all with Smalltalk. I did a private > Smalltalk > project under IBM VisualAge Smalltalk 6.0 (see http://imarch.free.fr/), but at > a HD crash 10 years ago I lost both VisualAge and the project, except for the > documentation. Recently I decided to rebuild my former private project and I > installed Squeak on my iMac. > Essentially, main differences between the two are VisualAge's Widgets > against Squeak's Morphs. > > The Morph problem that I met: > I create a Morph and from that I create another one and collapse the > original one: > > (morphA := )MorphA new > morphA: > (statements) > morphB := MorphB new. > self collapse. > > When I close morphB, I want morphA to reopen, but I did not find any > methods for that: > > morphB: > (statements) > morphA “uncollapse …... how?” > self currentWorld removeMorph: self. >
See implementors of >> collapseOrExpand on a workspace type in collapseOrExpand and press Alt-b. All the best, Ron Teitelbaum > I found a sort of “solution”, but is leaves a residu collapsed morph on the > screen: > > morphB: > (statements) > morphA currentWorld removeMorph: morphA. > morphA openInWorld. > self currentWorld removeMorph: self. > > morphA reappears opened but the collapsed morphA is still visible on the > display. “restore display (r)” does nothing, but clicking on any of the > collapsed morph's actions x, v, + or – let it disappear. > > > Remarks: > Update Squeak ends up in an error message. > Monticello Browser can't get over 30 versions and ends up in an > error message. > > > > -- > View this message in context: http://forum.world.st/How-to-reopen-a- > collapsed-Morph-from-another-Morph-tp4842627.html > Sent from the Squeak - Beginners mailing list archive at Nabble.com. > _______________________________________________ > Beginners mailing list > [email protected] > http://lists.squeakfoundation.org/mailman/listinfo/beginners _______________________________________________ Beginners mailing list [email protected] http://lists.squeakfoundation.org/mailman/listinfo/beginners
