jis@mtgzx.att.com (J Mukerji) (04/10/90)
The Adew Reference Manual on page 3 says: 1.2.8 Removing a child object The Cut button (displaying scissors) can be used to cut the selected child from an application. Alternately, the Cut menu option on the Arbcon menu will do the same thing. WARNING: not all ATK parent objects support this option. As of this release, only text,lset and page are known to contain the necessary code. ATTEMPTING TO CUT CELS FROM OTHER OBJECTS MAY RESULT IN CORE DUMPS! Creators of parent views are advised to observe the child views they create and react correctly when they are destroyed. I came across something that I really really want to be able to cut out in Adew and I can't. The object view combination that I have in mind is text-panel. I was wondering if someone would be willing to share the magic that needs to be put into panel (I presume) enable me to cut out a panel from a lset in Adew without producing a 9Meg coredump. Thanks. Jishnu Mukerji, jis@mtgzx.att.com, +1 201 957 5986, AT&T Bell Laboratories, MT 3K-423, 200 Laurel Ave., Middletown NJ 07748
tpn+@ANDREW.CMU.EDU (Tom Neuendorffer) (04/10/90)
Excerpts from mail: 9-Apr-90 Removing child object in Ar.. J Mukerji@mtgzx.att.com (1066+0) > I came across something that I really really want to be able to cut out > in Adew and I can't. The object view combination that I have in mind is > text-panel. I was wondering if someone would be willing to share the > magic that needs to be put into panel (I presume) enable me to cut out a > panel from a lset in Adew without producing a 9Meg coredump. There is apparently a bug in panel's finalize object routine. I will make sure that a patch is sent out to fix this. In the meantime, there are two ways you can deal with the problem. Fix 1. Create a new application file and use the arbcon to copy each inset (except for the text-panel) from your old application into the new one. Then just save the new file and delete the old one. This is the generic way of dealing with this problem and it can usually be done quickly and with a minimum of pain. Fix 2. ***Warning, Entering Hack Zone*** Use a non-ez editor (ed , vi, emacs, whatever) to edit the datastream of the application file and search for the following line >VIEW< panel and change it to >VIEW< textview Then, the next time you edit it with ez, it will come up with a textview view instead of a panel view, which can be easily cut with the arbcon. ***Now Leaving Hack Zone*** Regards, Tom Neuendorffer