Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I copy an object?
Message
 
To
16/02/1999 20:22:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00188172
Message ID:
00188287
Views:
20
>As a partial solution, you can play with PEMSTATUS and create a new object and copy all properties. There are though several problems that make this task impossible for a generic object:
>
>1. Hidden/protected properties.
>2. Accessor methods in VFP6. A property may fire a method when it is accessed and this method may behave differently depending on other properties in the same object. So, the order of property setting may be important. Other complications may also arise from here.
>
>Vlad
>
Thanks Mark & Vlad,
Excellent points you bring up. I thought this would have been a more common problem. Back to the drawing board...
Previous
Reply
Map
View

Click here to load this message in the networking platform