Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
CheckedListBox.setItemCheck
Sets a value indicating the check state of the a check box for the specified item.
Syntax
public final void setItemCheck( int index**, int** value )
public final void setItemCheck( int index**, boolean** value )
Parameters
index
The zero-based index of the item whose check box state you want to set.
value
A value that indicates the current state of the check box. You can pass either a constant defined in the CheckState class or a boolean value. If you pass a boolean value, specify true to check the check box, and specify false to uncheck it.
Exceptions
WFCInvalidArgumentException thrown if the specified index is not valid or if the specified value is not a valid CheckState constant.
See Also getItemCheck