Fired when the user changes the state of a cell's check box.

Parameters

ParameterDescription
CellThe cell whose check box's state has changed
OldCheckValThe check box's old state
NewCheckValThe check box's new state

Remarks

The OnCheckChanged event is fired when the user clicks the check box in a cell.

The OldCheckVal parameter contains the check box's previous state, which is one of three values: 0 (unchecked), 1 (checked), or 2 (undetermined). Likewise, the NewCheckVal parameter contains the check box's new value.

Use the CellCheck property of the cell if you wish to programmatically change the value of the cell's check box.

See Also

CellCheckCellType

  • No labels