Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Feb 27, 1997

Inheritance

Question:
Is it possible for a class to inherit from another class?

Answer:
Unfortunately, VB does not currently support class inheritance. However, using a tool like ClassAction from Crescent or ClassAssist from Sheridan, you can get the desired effects. Both of these tools allow you to create the classes within in them, including any inheritance, and then they generate the final class modules. This is about the only solution I can recommend to make inheritance work. I've heard rumors about inheritance within VB 5.0, especially when it comes to building controls, but I can't confirm them.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date