Previous Page | Next Page

SAS Component Language Dictionary

PMENU



Changes the PMENU for an application
Category: Window

Syntax
Details
Example

Syntax

rc=PMENU(pmenu);

rc

contains the return code for the operation:

0

The PMENU entry was assigned successfully. However, the PMENU function does not verify that pmenu exists.

[ne]0

The operation was not successful.

Type: Numeric

pmenu

is the PMENU entry to assign. If the PMENU entry resides in a different catalog, then specify a value of the form libref.catalog.pmenu. If a one-level name is specified, then SCL searches for the PMENU entry first in the current catalog, then in SASUSER.PROFILE, and then in SASHELP.FSP.

Type: Character


Details

The PMENU function only changes the pull-down menu that is associated with the window. It does not turn on the pull-down menus. If the pull-down menus are on, the new pull-down menu is displayed immediately.

See Base SAS Procedures Guide for more information about creating custom PMENU entries. FRAME entries can also use the _setPmenu method.


Example

Change the default PMENU that is associated with an application to MYPMENU in the catalog NEWLIB.TESTS:

rc=pmenu('newlib.tests.mypmenu');

Previous Page | Next Page | Top of Page