Building two windows with similar definitions  Instance variables in descendants

Chapter 10: Working with Windows

Advantages of using inheritance

Using inheritance has a number of advantages:

When you use inheritance to build an object, everything in the ancestor object is inherited in all its descendants. In the descendant, you can:

The only thing you cannot do is delete inherited controls. If you do not need an inherited control, you can make it invisible in the descendent window.





Copyright © 2004. Sybase Inc. All rights reserved. Instance variables in descendants

View this book as PDF