[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|        ON SELECTION PAD         |
+---------------------------------+
ON SELECTION PAD <pad name>
        OF <menu name> [<command>]

-----------------------------------
Assigns routine to menu bar pad.
-----------------------------------

ON SELECTION PAD assigns a routine to a menu bar pad.  When you choose
the pad from the menu bar the routine is executed.  The routine may be a
command or a program.  ON SELECTION PAD should be placed between DEFINE
MENU and ACTIVATE MENU.

A routine can be assigned to all pads in a menu bar with ON SELECTION
MENU; menu bars and popups may be assigned to individual menu bar pads
with ON PAD.

<pad name> OF <menu name> [<command>]
        Include the <menu name> and <pad name> in ON SELECTION PAD to execute
the <command> for the specified menu bar and menu pad.  Use ON SELECTION
PAD <pad name> OF <menu name> without a <command> to release a routine
assigned to a menu bar pad.

-----------------------------------

See Also:  DEFINE MENU, DEFINE PAD, DEFINE POPUP, MENU(), ON PAD, PAD()

-----------------------------------

See Also: DEFINE MENU DEFINE PAD DEFINE POPUP MENU() ON PAD PAD()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson