Skip to main content
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.

FMX.TMSFNCDataGrid.hppPascalC++
procedure SetCheckBox(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False); overload;
void __fastcall SetCheckBox(const TTMSFNCDataGridCellCoord &ACell, bool AValue = 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.

FMX.TMSFNCDataGrid.hppPascalC++
procedure SetCheckBox(AColumn, ARow: Integer; AValue: Boolean = False); overload;
void __fastcall SetCheckBox(int AColumn, int ARow, bool AValue = false)/* overload */;

Parameters

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