General information
Category:
ActiveX controls
Title:
Starters : How to subclass a control
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?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only