[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|        ON SELECTION BAR         |
+---------------------------------+
ON SELECTION BAR <expN>
        OF <popup name> [<command>]

-----------------------------------
Assigns routine to popup option.
-----------------------------------

ON SELECTION BAR lets you assign a routine to a menu popup option.  When
you choose the option from the menu popup the routine is executed.  The
routine may be a command, a program or a procedure.  The ON SELECTION
BAR command should be placed between the DEFINE POPUP and ACTIVATE POPUP
commands.

<expN> OF <popup name> [<command>]
        Include the option's BAR number <expN> and <popup name> to execute the
<command> for the specified popup option.  Use ON SELECTION BAR <expN>
OF <popup name> without a <command> to release a routine assigned to a
popup option.

        A routine may be assigned to all options in a menu popup with the ON
SELECTION POPUP command; menu bars and menu popups may be assigned to
individual options with the ON BAR command to create a hierarchical
popup.

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

See Also:  ACTIVATE MENU, ACTIVATE POPUP, BAR(), DEFINE BAR, DEFINE
POPUP, ON BAR, ON SELECTION POPUP, POPUP()

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

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