Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Copy a Object ??
Message
From
01/09/1999 12:25:43
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00258802
Message ID:
00260246
Views:
18
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform