Using Inheritance to Build a Menu

Build a menu that inherits its style, events, functions, structures, variables, and scripts from an existing menu to save coding time. All you have to do is modify the descendant object to meet the requirements of the current situation.

  1. In the Solution Explorer, select the menu from which you want to inherit.
  2. Right-click and select Inherit from.
    The new descendant menu opens in the Menu painter.
  3. Make the necessary changes to the descedant menu.
    See Using the inherited information in the PowerBuilder Users Guide.
  4. Save the menu under a new name.