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.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: