Saving the menu – PB Docs 2017

Saving the menu

You can save the menu you are working on at any time. When you
save a menu, PowerBuilder saves the compiled menu items and scripts in
the library you specify.

To save a menu

  1. Select File>Save from the menu bar.

    If you have previously saved the menu, PowerBuilder saves
    the new version in the same library and returns you to the Menu
    painter. If you have not previously saved the menu, PowerBuilder
    displays the Save Menu dialog box.

  2. Name the menu in the Menus box (see Naming the menu).

  3. Write comments to describe the menu.

    These comments display in the Select Menu dialog box and in
    the Library painter. It is a good idea to use comments so you and
    others can easily remember the purpose of the menu later.

  4. Specify the library in which to save the menu and click
    OK.

Naming the
menu

The menu name can be any valid PowerBuilder identifier of up to
40 characters. For information about PowerBuilder identifiers, see the
the section called “Identifier names” in PowerScript Reference.

A common convention is to use m_ as a standard prefix, and a
suffix that helps you identify the particular menu. For example, you
might name a menu used in a sales application m_sales.


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