Procedure features: |
ITEM statement |
MENU statement |
|
Other features: |
SAS/AF software
|
This example creates menus for a FRAME entry and gives the steps necessary
to associate the menus with a FRAME entry from SAS/AF software.
|
libname proclib 'SAS-data-library'; |
|
proc pmenu catalog=proclib.menucat; |
|
menu frame; |
|
item 'File' menu=f;
item 'Help' menu=h; |
|
menu f;
item 'Cancel';
item 'End'; |
|
menu h;
item 'About the application' selection=a;
item 'About the keys' selection=k; |
|
selection a 'sethelp proclib.menucat.app.help;help';
selection k 'sethelp proclib.menucat.keys.help;help';
run;
quit; |
-
In the BUILD environment for the FRAME entry, from the menu bar,
select View Properties Window
-
In the Properties window, select the
Value field for the pmenuEntry Attribute Name.
The Select An Entry window opens.
-
In the Select An Entry window, enter
the name of the catalog entry that is specified in the PROC PMENU step that
creates the menus.
-
Test the FRAME as follows from the menu bar of the FRAME:Build Test
Refer to
Getting Started with the FRAME Entry: Developing Object-Oriented Applications for more information on SAS programming with FRAME
entries.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.