Skip to main content
Table of Contents

TTMSFNCDataGrid.SetRadioButton Method

Replaces the existing cell content with a radio button cell having the given state and group index.

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

Overloads

Overload 1

Replaces the existing cell content with a radio button cell having the given state and group index.

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

Parameters

Name Description
ACell Target cell coordinate.
AValue Initial selected state of the radio button.
AGroupIndex Group index for mutual exclusion among radio buttons.

Overload 2

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

FMX.TMSFNCDataGrid.hppPascalC++
procedure SetRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0); overload;
void __fastcall SetRadioButton(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 Initial selected state of the radio button.
AGroupIndex Group index for mutual exclusion among radio buttons.