Overriding Attributes

When a class inherits from another class, non-private inherited attributes can be defined as properties of the child class, allowing the user to define initial values in the child class.

  1. Open the property sheet of a child class, and click the Attributes tab.
  2. Click the Override Inherited Attributes tool to display the list of attributes available from the parent class.
  3. Select one or more attributes in the list and click OK.

    The attributes appear in the child class list of attributes. You can modify their initial value in the corresponding column.