Previous Page | Next Page

SAS Procedures under Windows

PMENU Procedure: Windows



Defines menu facilities for windows created with SAS software.
Windows specifics: ACCELERATE= option accepted for several key combinations
See: PMENU Procedure in Base SAS Procedures Guide

Syntax
Details

Syntax

PROC PMENU <CATALOG=<libref.>catalog> <DESC 'entry-description'>;
ITEM command <option(s)>;
ITEM 'menu-item' <option(s)>;
ACCELERATE=name-of-key;

This version is a simplified version of the PMENU procedure syntax. For the complete syntax, see the PMENU procedure in Base SAS Procedures Guide.

ACCELERATE=name-of-key

defines a key sequence that can be used instead of selecting an item. When you press the key sequence, it has the same effect as selecting the item from the menu bar or menu.

Under Windows, the ACCELERATE= option in the ITEM statement is accepted only for the following key combinations:

  • Ctrl + A (Select All)

  • Ctrl + C (Copy)

  • Ctrl + F (Find)

  • Ctrl + N (New)

  • Ctrl + O (Include)

  • Ctrl + P (Print)

  • Ctrl + S (File)

  • Ctrl +V (Paste)

  • Ctrl +X (Cut).

  • Ctrl + Z (Undo)

  • Del (Clear)


Details

The PMENU procedure defines menus that can be used in DATA step windows, macro windows, SAS/AF and SAS/FSP windows, or in any SAS application that enables you to specify customized menus.

If you want your program to be portable between Windows and OS/2, you can use the following alternate key combinations:

If you use these alternate key combinations in your SAS program, the Edit menu shows the standard key combination; however, you can use either the standard or alternate key combination to activate the menu item.

Previous Page | Next Page | Top of Page