Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starters : How to subclass a control
Message
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Starters : How to subclass a control
Divers
Thread ID:
00401775
Message ID:
00401775
Vues:
55
Hello,

For advanced VB-developers this could sound like a very stupid question. I've only started working with VB so I'm not that experienced with it.

My problem is that I want to subclass a control (wrapping).

For example for a textbox, I want to make my own textbox (some Usercontrol)....In the class, I would add code for the GotFocus and LostFocus event.

Now when I use the control on my own forms, I want to be able to write extra code for the LostFocus/GotFocus and VB should also execute the code that's in the usercontrol.

In Visual Foxpro there's something like "DO DEFAULT"...but in VB I can't get it working.

Does anyone has a clue?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform