Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any way to extract a control from a class in vcx?
Message
De
17/03/2009 23:42:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01388944
Message ID:
01388948
Vues:
50
>>>>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
Fil
Voir

Click here to load this message in the networking platform