Menu.CheckItem Method | |
Place a check mark to the left of a specified menu item.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD CheckItem(
nItemID
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual CheckItem(
Usual nItemID = default
)
Request Example
View SourceParameters
- 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 |
---|
You can also use this method to check a menu item on a submenu. |
See Also