Chapter Contents |
Previous |
Next |
The PMENU Procedure |
Procedure features: |
|
Tasks include
Program |
libname proclib 'SAS-data-library';
proc pmenu c=proclib.menucat; |
menu project; |
item 'File' menu=f; item 'Edit' menu=e; item 'Scroll' menu=s; item 'Subset' menu=sub; item 'Help' menu=h; |
menu f; item 'Goback' selection=g; item 'Save'; selection g 'end'; |
menu e; item 'Cancel'; item 'Add'; |
menu s; item 'Next Obs' selection=n; item 'Prev Obs' selection=p; item 'Top'; item 'Bottom'; selection n 'forward'; selection p 'backward'; |
menu sub; item 'Where' dialog=d1; item 'Where Clear'; |
menu h; item 'Keys'; item 'About this application' selection=hlp; selection hlp 'sethelp proclib.menucat.staffhlp.help;help'; |
dialog d1 'where @1'; text #2 @3 'Enter a valid WHERE clause or UNDO'; text #4 @3 'WHERE '; text #4 @10 len=40; quit; |
Associating a Menu Bar with an FSEDIT Window |
setpmenu proclib.menucat.project.pmenu;pmenu on
You can also specify the menu bar on the command line in the FSEDIT session or with a CALL EXECCMD command in SAS Screen Control Language (SCL). Refer to SAS Screen Control Language: Reference for complete documentation on SCL.
See Associating a Menu Bar with an FSEDIT Session for other methods of associating the customized menu bar with the FSEDIT window.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.