I'll try to make myself more clear:
I want to be able to duplicate the properties and sub objects
of an instance. For example if I have an instance of a
form object with all the properties set up I would like to
duplicate the instance and all the properties and sub objects.
This does not make a whole lot of sense for forms so I'll show
you what I want to use it for: I have a class called list which
can store a list of values. It actually keeps track of a
selection in a grid, simulating multiselect. I use three
instancesof the list: Selected, Copy, and Cut. When I copy the
current selection, I would like to just copy copy all the properties
from the Selected instance to the Copy instance.
This would be useful in other areas as well.
Peter Stephens.
Peter Stephens
Visual Records, Inc.
Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.