Determines if a menu item is enabled or disabled with SET SKIP OF.
SKPBAR(cMenuName, MenuItemNumber) |
Parameters
- cMenuName
-
Specifies the name of the menu that contains the item.
- MenuItemNumber
-
Specifies the number of the menu item whose status (enabled or disabled) SKPBAR( ) returns. The menu item number is assigned when the menu item is created with DEFINE BAR.
Return Value
Logical
Remarks
SKPBAR( ) returns true (.T.) if the menu item is disabled, and false (.F.) if the menu item is enabled.
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08