Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to extract a control from a class in vcx?
Message
 
 
To
17/03/2009 23:27:10
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01388944
Message ID:
01388947
Views:
60
>>>I have a container class in a VCX, where I added a combobox and a label to the container, and on the combobox I have added code to several of its methods. Now, is there any way I can extract that combobox out of the container, and make it a free-standing class in the vcx, so I can use it outside of the container?
>>>
>>>If I could do this, I would then delete the original combox from the container, and then add back an instance of the extracted one, which it the way I should have built the thing in the first place.
>>
>>Copy combo to the clipboard, open a new form, put this combo there, then select and Save as a class.
>
>When I tried to copy, it says "Cannot copy objects because some are members of a parent class"

I meant copy from the container class when you open this class to modify. Is it what you have been trying?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform