Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.AddDataRadioButton Method

Turns a cell into a data radio button cell: the selected state follows the cell value.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Turns a cell into a data radio button cell: the selected state follows the cell value.

FMX.TMSFNCDataGrid.hppPascalC++
procedure AddDataRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0); overload;
void __fastcall AddDataRadioButton(const TTMSFNCDataGridCellCoord &ACell, bool AValue = false, int AGroupIndex = 0x0)/* overload */;

Parameters

Name Description
ACell Target cell coordinate. Invalid coordinates are ignored.
AValue Not used; the selected state comes from the cell value.
AGroupIndex Radio group identifier; radio buttons with the same group index are mutually exclusive.

Overload 2

Turns the cell at the given column and row into a data radio button cell whose selected state follows the cell value.

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

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
AValue Not used; the selected state comes from the cell value.
AGroupIndex Radio group identifier; radio buttons with the same group index are mutually exclusive.