SKPBAR( ) Function

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

SKPBAR(cMenuName, MenuItemNumber)

Return Values

Logical

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.

Remarks

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

See Also

DEFINE BAR | SET SKIP OF | SKPPAD( )