[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|           SET SKIP OF           |
+---------------------------------+
SET SKIP OF MENU <menu name> <expL>

SET SKIP OF PAD <pad name>
        OF <menu name> <expL>

SET SKIP OF POPUP
        <popup name> <expL>

SET SKIP OF BAR <expN>
        | <System option name>
        OF <popup name> <expL>

-----------------------------------
Enable or disable menus.
-----------------------------------

SET SKIP OF lets you selectively enable or disable menus, menu pads,
popups and popup options.  SET SKIP OF can be used with the FoxPro
system menu, or with user-defined menus and popups.  A complete listing
of the names of the FoxPro system menu bar, menu pads, popups and popup
options is listed in the MENU - System Menu Names topic in this help
facility.

If the logical expression <expL> evaluates to true (.T.), the menu, menu
pad, popup or popup option included in SET SKIP OF is disabled (cannot
be selected) and is displayed in the disabled colors.  If the logical
expression <expL> evaluates to false (.F.), the menu, menu pad, popup or
popup option is enabled, can be selected and is displayed in the enabled
colors.

SET SKIP OF MENU <menu name> <expL>
        SET SKIP OF MENU lets you enable or disable a menu bar.  For example,
the FoxPro system menu bar _MSYSMENU can be disabled with

        SET SKIP OF MENU _MSYSMENU .T.

        and enabled with

        SET SKIP OF MENU _MSYSMENU .F.

        SET SKIP OF MENU can also be used to enable or disable user-defined
menus created with DEFINE MENU.

SET SKIP OF PAD <pad name> OF <menu name> <expL>
        SET SKIP OF PAD lets you enable or disable a specific menu pad on a
menu bar.  You can selectively enable or disable a FoxPro system menu
pad, or a user-defined menu pad created with DEFINE PAD.

        For example, the FoxPro File menu pad can be disabled with

        SET SKIP OF PAD _MSM_FILE OF _MSYSMENU .T.

        and can be enabled with

        SET SKIP OF PAD _MSM_FILE OF _MSYSMENU .F.

SET SKIP OF POPUP <popup name> <expL>
        SET SKIP OF POPUP lets you enable or disable a menu popup.  You can
enable or disable a FoxPro system popup, or a user-defined popup created
with DEFINE POPUP.

        For example, the FoxPro File menu popup can be disabled with

        SET SKIP OF POPUP _MFILE .T.

        and can be enabled with

        SET SKIP OF POPUP _MFILE .F.

SET SKIP OF BAR <expN> | <System option name> OF <popup name> <expL>
        SET SKIP OF BAR lets you enable or disable a specific option in a
popup.  You can enable or disable an option in a FoxPro system popup, or
a user-defined popup option created with DEFINE BAR.

        For example, the New option in the File menu popup can be disabled with

        SET SKIP OF BAR _MFI_NEW OF _MFILE .T.

        and can be enabled with

        SET SKIP OF BAR _MFI_NEW OF _MFILE .F.

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

See Also:  DEFINE BAR, DEFINE MENU, DEFINE PAD, DEFINE POPUP, MENU -
System Menu Names

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

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