| SAS Component Language Dictionary |
| Category: | Window |
| Syntax | |
| Details | |
| Example |
Syntax |
| rc=PMENU(pmenu); |
contains the return code for the operation:
| 0 |
The PMENU entry was assigned successfully. However, the PMENU function does not verify that pmenu exists. |
0 |
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.
| 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');
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.