Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make copy of an object
Message
From
20/04/2000 19:10:13
 
 
To
20/04/2000 18:44:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362076
Message ID:
00362093
Views:
23
>>1) Is there a quick and dirty way of saving an object's properties (it's state) so that they can be restored later? At this time I wish to save the properties of the _SCREEN object to restore them later, but this is obviously a frequent situation and I am sure there is a one line solution.
>>
>
>Rick Strahl's wwXML class will persist all of an object's properties to an XML (or string), and restore them them later.
>
>>2) Along the same vein, is there generic way (sounds better than quick and dirty) of making a complete copy of an object? The difference with question one is that this time any objects contained in the source object are copied along with the properties.
>
>Again, wwXML is the closest thing I have seen to what you are looking for,

Thanks Erik. I'm downloading now.

And thanks to Rick Strahl too. BTW I'm also downloading the shareware version of WebConnect which sounds like an extremely interesting product.
Previous
Reply
Map
View

Click here to load this message in the networking platform