Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Inherit and save a new menu – PB Docs 2019 – PowerBuilder Library

Inherit and save a new menu – PB Docs 2019

Inherit and save a new
menu

By inheriting from the application sheet menu, you retain the
sheet menu characteristics without modifying the ancestor menu. It is
good practice to save the new menu immediately, then save it again after
you modify it.

  1. Click the Inherit button (zzinhrt.gif) in the PowerBar.

    The Inherit From Object dialog box displays.

  2. Make sure Menus is selected in the Objects of Type drop-down
    list box.

    Select m_pbtutor_sheet in the Object list box and click
    OK.

    PowerBuilder displays an untitled menu that has all the
    characteristics of m_pbtutor_sheet.

    On the inherited sheet menu, the Window menu items are enabled
    to allow for tiling and cascading windows, just as they are for the
    m_pbtutor_sheet menu. These items are disabled on the
    m_pbtutor_frame menu.

    Changes made to the MDI frame menu

    If you click the File menu in the WYSIWYG view, you see that
    the first item is now Report. The Open item is dithered to
    indicate that it is not visible and is grayed to indicate that it
    is disabled. These characteristics were propagated through the
    inheritance chain from m_pbtutor_frame.

  3. Select File>Save from the menu bar.

    The Save Menu dialog box displays.

  4. Type m_my_sheet as the menu name in the Menus box.

    Type the following line in the Comments box:

  5. Click OK.

    This names the menu. The prefix m_ is standard for
    menus.

    The name you just assigned to the new menu displays in the
    title bar of the Menu painter workspace and the m_my_sheet menu
    appears in the system tree.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x