Features: |
DIALOG statement TEXT statement option: LEN= |
libname proclib
'SAS-data-library';
proc pmenu catalog=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;
item 'File' menu=f; item 'Edit' menu=e; item 'Scroll' menu=s; item 'Subset' menu=sub; item 'Help' menu=h;
Goback
as
the first selection under File. The value of the SELECTION= option
corresponds to the subsequent SELECTION statement, which specifies
END as the command that is issued for that selection. The second ITEM
statement specifies that the SAVE command is issued for that selection.menu s; item 'Next Obs' selection=n; item 'Prev Obs' selection=p; item 'Top'; item 'Bottom'; selection n 'forward'; selection p 'backward';
menu h; item 'Keys'; item 'About this application' selection=hlp; selection hlp 'sethelp proclib.menucat.staffhlp.help;help';