IsChecked Function (CheckBox MenuItem)

Class

CheckBox and MenuItem.

Action

Tests whether the check box or menu item is checked.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

bCheckState = object.IsChecked()
Variable Description
bCheckState TRUE if the object is checked. BOOLEAN.
Note: IsChecked returns TRUE if the object is checked, or FALSE if it is unchecked. If the OPT_MENU_PICK_BEFORE_GET option is TRUE, you may see menus pop up on the screen when calling IsChecked on a menu item, even though your code does not explicitly call Pick.

Example

[-] if(!Find.CaseSensitive.IsChecked())
	[ ] Find.CaseSensitive.Check()