Click or drag to resize

Menu.CheckItem Method (Typed)

X#
Place a check mark to the left of a specified menu item.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD CheckItem(
	nItemID
) AS USUAL CLIPPER
Request Example View Source

Parameters

nItemID (Optional)
Type: Usual
The ID of the menu command.

Return Value

Type: Usual
MF_CHECKED if checked, MF_UNCHECKED if unchecked
Remarks
Placing a check mark next to a menu item indicates its state. The state of such a command is usually indicated to the user by the check mark, which does or does not appear depending on whether the command is on or off. You can later use the Menu:UncheckItem() method to remove the check mark.
Tip Tip
You can also use this method to check a menu item on a submenu.
See Also