Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starters : How to subclass a control
Message
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00401775
Message ID:
00402284
Vues:
17
VB has some great features that makes it nice for building OO apps. Like RaiseEvent, typing, early binding and multiple interfaces. But trying to get inheritance is painful. (Using hooks is not inheritance ... dBase for DOS can implement hooks.) Hopefully VB7 will silence the laughter when you mention 'VB inheritance' to developers using other OO languages.

>Yes, but what if you wanted some basic code to execute in the ActiveX control and in some specialized code the user control for the GotFocus() event? I guess you can acheive this behaviour by using hooks, but it's ugly.
George
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform