>>>>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?
Yep. I had the container class open from the VCX.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement