SET MARK OF Command

See Also

Specifies a mark character for menu titles or menu items, or displays or clears the mark character.

Syntax

SET MARK OF MENU MenuBarName1
  TO lExpression1
-or-
SET MARK OF POPUP MenuName1
  TO lExpression3
-or-
SET MARK OF BAR nMenuItemNumber OF MenuName2
  TO lExpression4

Arguments

MENU MenuBarName1

Specifies the name of the menu bar for which the mark character is specified, displayed or cleared.

POPUP MenuName1

Specifies the name of the menu for which the mark character is specified, displayed, or cleared.

BAR nMenuItemNumber OF MenuName2

Specifies the number of the menu item (and the name of the menu containing the menu item) for which the mark character is specified, displayed, or cleared.

Remarks

You cannot specify a mark character for menu titles or menu items. The mark character is always a check mark (). However, you can use SET MARK OF to display or clear the check mark for menu titles or menu items.

You cannot mark menu items created with any of the DEFINE POPUP PROMPT clauses (FIELD, FILES, or STRUCTURE).

Use MRKPAD( ) to determine if a menu title has a mark character displayed, and use MRKBAR( ) to determine if a menu item has a mark character displayed.

For an example using SET MARK OF, see CNTBAR( ).