OverviewExamples
number ListBox.GetItemCheck ( |
Returns the checkbox state of a specific item in a listbox object.
(string) The name of the listbox object.
(number) The index (line number) of the item whose checkbox state you want. You can use an index of -1 to access the last item in the list.
(number) A number representing the checkbox state of the item. If an error occurs, the value -1 (LB_ERROR) is returned.
CONSTANT |
VALUE |
DESCRIPTION |
BST_UNCHECKED |
0 |
The item's checkbox is unchecked. |
BST_CHECKED |
1 |
The item's checkbox is checked. |
BST_INDETERMINATE |
2 |
The item's checkbox is in an "indeterminate" state. Usually used to indicate a "mix" of checked and unchecked items. |
You can use Application.GetLastError to determine whether this action failed, and why.
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions