Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub-classed ActiveX controls
Message
De
17/09/1998 12:52:10
 
 
À
17/09/1998 12:03:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00137833
Message ID:
00137869
Vues:
13
>This VFP5 implementation of inheritance for ActiveX components seems incorrect.
>
>I created a class based on the MS TreeView. I then sub-classed that class. I replaced the MS TreeView with another TreeView in my base class. But all the derived classes still refer to the old treeview.
>
>Am I missing anything here? Isn't this a fundamentally bad implementation of inheritance. Is there any way around this? I tried to simply edit the derived class, hoping that this would re-sync the OLE info, but it does not. How the heck do I fix the derived classes?

A hack: open directly the VCX file, and fix the CLASS and CLASSLOC fields for your subclasses, so they refer to your treeview.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform