Table of Contents

TTMSFNCDataGrid.AddCheckBox Method

Adds a checkbox cell with the specified initial state at the given cell coordinate.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Overloads

Overload 1

Adds a checkbox cell with the specified initial state at the given cell coordinate.

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

Parameters

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

Overload 2

Adds a checkbox cell with the specified initial state at the given column and row.

procedure AddCheckBox(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.