Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starters : How to subclass a control
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00401775
Message ID:
00402284
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform