Table of Contents

TTMSFNCCustomDataGrid.SetCheckBox Method

Replaces the existing cell content with a checkbox cell having the given initial state.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Replaces the existing cell content with a checkbox cell having the given initial state.

procedure SetCheckBox(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False); overload;

Parameters

Name Description
ACell Target cell coordinate.
AValue Initial checked state of the checkbox.

Overload 2

Replaces the existing cell content at the given column and row with a checkbox cell.

procedure SetCheckBox(AColumn, ARow: Integer; AValue: Boolean = False); overload;

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
AValue Initial checked state of the checkbox.