Using the inherited information

When you build and save a user object, PocketBuilder treats the object as a unit that includes:

When you use inheritance to build a new user object, everything in the ancestor user object is inherited in the direct descendant, and in its descendants in turn.

Ancestor’s instance variables display

Suppose that you create a user object by inheriting it from a custom class or standard class user object that has public or protected instance variables with simple datatypes. In this case, the instance variables display and can be modified in the descendent user object’s Properties view.

All public instance variables with simple datatypes, such as integer, boolean, character, date, string, and so on, display in the descendant. Instance variables with the any or blob datatype or instance variables that are objects or arrays do not display.

What you can do in the descendant

You can do the following in a descendent user object:

What you cannot do in the descendant

In a descendent user object, you cannot delete controls inherited from a custom visual user object. If you do not need a control in a descendent user object, you can make it invisible.

Understanding inheritance

The issues concerning inheritance with user objects are the same as the issues concerning inheritance with windows and menus. See Chapter 12, “Understanding Inheritance,” for more information.