MRKBAR( ) Function

Determines whether a menu item on a user-defined or Microsoft Visual FoxPro system menu is marked.

MRKBAR(cMenuName, nMenuItemNumber | cSystemMenuItemName)

Parameters

cMenuName

Specifies the name of the menu containing the menu item. The menu can be a Visual FoxPro system menu (such as _MFILE, MEDIT, or _MDATA).

nMenuItemNumber

Specifies the number of a menu item in a user-defined menu. A menu item's number is specified when the menu item is created with DEFINE BAR.

cSystemMenuItemName

Specifies the name of a Visual FoxPro system menu item. For example, the following command displays a logical value specifying if the New menu item on the File menu is marked.

 CopyCode imageCopy Code
? MRKBAR('_MFILE', _MFI_NEW)

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic