Information générale
Catégorie:
Contrôles ActiveX en VFP
>1) If you subclass the oleControl, the PEMs of the ActiveX control specified in the parent class are simply copied to the subclass. If you go back and change something in the parent class, it is not reflected in the subclass.
>
Actually, that statement is not entirely true. Some of the properties support inheritance and some do not. It appears that the properties that have the same name as a VFP property (ie. BackColor) support inheritance, while others do not, but I have not tested this extensively. It looks like events/methods support inheritance as well.
Précédent
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