Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I copy an object?
Message
 
À
16/02/1999 20:22:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00188172
Message ID:
00188287
Vues:
21
>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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform