System object inheritance hierarchy – PB Docs 150

System object inheritance hierarchy

Inheritance

One of the most powerful features of PowerBuilder is inheritance.
It enables you to build windows, user objects, and menus that are
derived from existing objects. When you build an object that inherits
from another object, you create a hierarchy (or tree structure)
of ancestor and descendent objects.

Base class object

The object at the top of the hierarchy is a base
class object
, and the other objects are descendants
of this object. Each descendant inherits its definition from its
ancestor. The base class object typically implements generalized processing,
and each descendant modifies the inherited processing as needed.

System object hierarchy

The PowerBuilder system objects compose such a hierarchy.
At the top of the hierarchy is the PowerObject,
the base class from which all the objects and controls described
in this book descend. The hierarchy also contains other (generic)
base class objects that are not typically used in application development
but are necessary parts of the logical organization of the hierarchy.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x