SKPBAR( ) Function

See Also

Determines if a menu item is enabled or disabled with SET SKIP OF.

Syntax

SKPBAR(cMenuName, MenuItemNumber)

Returns

Logical

Arguments

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.

Remarks

SKPBAR( ) returns true (.T.) if the menu item is disabled, and false (.F.) if the menu item is enabled.