Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Copy a Object ??
Message
De
01/09/1999 12:25:43
 
 
À
01/09/1999 10:48:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00258802
Message ID:
00260246
Vues:
19
>>Let me clear this, as I was the one who started this...
>>
>>Recently while making gradient class in which there is a option to show gradient effect on the form..
>>
>>At that time I thought, that it will be very easy for me, if i can get a copy of the current form.. so i can simply show the gradient effect in the copy (& not on the original form)...
>>
>>Once demo is over.. just release the object and I'm back to my original form...
>>
>>Just how x=thisform holds a object reference for thisform.. I thought maybe there is a easy way to hold a copy of the object also..
>
>Nope, because all that's held is a pointer to the object entry, not a separate instance of the object.

Sounds like he needs to create another separate instance of the form for his demo, then release it?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform