Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing an OCX
Message
De
19/01/2000 09:18:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00319745
Message ID:
00319833
Vues:
15
You can't use CREATEOBJECT on any control that requires a container- ActiveX controls do.

>That works on a form but not if you want to do CREATEOBJECT("SubClassedControl") - one of the classes I also need to subclass are used in this way.
>
>>Nigel,
>>
>>Place it on a form, Select it, save it as class, Open the class and add methods and properties you need. Open your form and drag the class to your form from the project manager (Tab Classes)
>>
>>Walter,
>>
>>>Does anybody know how to subclass an OCX. I want to subclass the MS Treeview control to see if I can reduce the memory required for loading it multiple times. I have been advised to subclass a control on a previous issue but never got around to trying it.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform