XForms: deleting and freeing grouped objects

Stephen Langer (langer@cam.nist.gov)
Fri, 6 Feb 1998 11:04:39 -0500

# To subscribers of the xforms list from "Stephen Langer" <langer@cam.nist.gov> :

Hi --

What is the correct way to delete and free grouped objects? If a group
contains obj1 and obj2, does deleting or freeing the group also delete
and free the objects, or does everything have to be done separately?
Does the order matter?

fl_delete_object(group); /* does this delete obj1 and obj2 too? */
fl_delete_object(obj1); /* is this needed? */
fl_delete_object(obj2); /* is this needed? */

fl_free_object(group);
fl_free_object(obj1); /* is this needed? does it have to be done before
freeing the group? */
fl_free_object(obj2); /* ditto... */

I couldn't find any discussion of this in the manual.

Thanks!

-- Steve

-- 
-- EMail: stephen.langer@nist.gov                    Phone: (301) 975-5423 --
-- WWW:  http://math.nist.gov/mcsd/Staff/SLanger/    Fax:   (301) 990-4127 --
-- Mail: Building 820 Room 365; NIST; Gaithersburg, Md          20899-0001 --
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil   or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/