Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starters : How to subclass a control
Message
From
07/08/2000 09:26:06
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Starters : How to subclass a control
Miscellaneous
Thread ID:
00401775
Message ID:
00401775
Views:
54
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
Map
View

Click here to load this message in the networking platform