Export (0) Print
Expand All
Expand Minimize

ON PAD Command

Specifies the menu or menu bar that is activated when you choose a specific menu title.


ON PAD MenuTitleName OF MenuBarName1   [ACTIVATE POPUP MenuName
   | ACTIVATE MENU MenuBarName2

Parameters

MenuTitleName OF MenuBarName1

Specifies the menu title to which a menu or menu bar is assigned.

ACTIVATE POPUP MenuName

Specifies the menu to activate when the menu title is chosen. Use ON PAD MenuTitleName OF MenuBarName1 without ACTIVATE POPUP to release a menu from a menu title.

If you specify the system menu bar _MSYSMENU for MenuBarName1, MenuName cannot specify a menu that is created with the DEFINE POPUP PROMPT clause.

ACTIVATE MENU MenuBarName2

Specifies the name of the menu bar to activate when the menu title is chosen. Use ON PAD MenuTitleName OF MenuBarName1 without ACTIVATE MENU to release a menu bar from a menu name.

Use ON SELECTION PAD to execute a command when a menu title is chosen.

Community Additions

ADD
Show:
© 2014 Microsoft