Compartir a través de


How to: Redefine Parent Class Relationships

You can redefine the relationship between a class and its parent class.

Warning

When you redefine a class, forms that contain that class and subclasses in other class libraries that do not currently appear in the Class Browser might not function correctly.

To change the parent class of a class

  1. Open the class library in the Class Browser.

    For more information about opening class libraries, see How to: Open Class Libraries.

  2. In the class list of the Class Browser, select the class you want to redefine.

  3. In the Class Browser, click the Redefine button.

  4. In the As list of the Redefine dialog box, select the name of the new parent class.

    -OR-

    Click the ellipsis (...) button to select a class.

  5. Click Redefine.

See Also

Other Resources

Managing Classes and Class Libraries