| Home | Previous Lesson: Calling Ancestor Scripts Next Lesson: Multiple Inheritance |
Inheriting menus is similar to inheriting windows, but the following restrictions apply. You can't:
However, PowerBuilder allows you to change the order of menu items by selecting ShiftToRight option in the inherited menu object.
In the above picture, the bottom menu item separator, Close and Printer Setup options have ShiftToRight option turned-on by that the newly added 'Close' menu option in the descendent will show up right below the menu item separator located below Open menu option.
If you do it for a menu item on the menu bar, it shifts all the way right on the menu bar.
| Home | Previous Lesson: Calling Ancestor Scripts Next Lesson: Multiple Inheritance |