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:58:56
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01388944
Message ID:
01388953
Views:
42
>>>>I meant copy from the container class when you open this class to modify. Is it what you have been trying?
>>>
>>> Yep. I had the container class open from the VCX.
>>
>>Are you sure it's the first level class (container and combo and not already subclassed)? I don't want to connect to work to test it right now (it's almost 12am and I'm tired), but if this is just a simple container and a combo you should be able to delete the combo or copy it to a different class, AFAIK. I don't see a reason why it would not work.
>
>The combo is *not* a first-level class. The combo that I added to the container was a subclassed combo already when I added it to the container. Then I added more code to its methods, now I wish I had sub-classed it again and done my edits there, before brought it into the container.

Is this combo part of another class? If the combo is just a subclassed combo, it still should work, AFAIK. If this combo is already inside some container class, then you would not be able to copy just combo.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform