Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying objects
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00003189
Message ID:
00003196
Views:
27
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 instances
of 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++.
Previous
Reply
Map
View

Click here to load this message in the networking platform