Skip to main content
Table of Contents

TTMSFNCDataGridRenderer.SetRadioButton Method

Turns the cell into a radio button cell.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Overloads

Overload 1

Turns the cell into a radio button cell.

GeneratedPascalC++
procedure SetRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0); overload;
void __fastcall SetRadioButton(TTMSFNCDataGridCellCoord ACell, bool AValue = false, int AGroupIndex = 0);

Remarks

OnCellRadioButtonChange fires when the user selects the radio button.

Parameters

Name Description
ACell Cell coordinate. Invalid coordinates are ignored.
AValue Initial selected state, stored separately from the cell value.
AGroupIndex Radio group; radio buttons with the same group index are mutually exclusive.

Overload 2

Turns the cell at (AColumn, ARow) into a radio button cell.

GeneratedPascalC++
procedure SetRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0); overload;
void __fastcall SetRadioButton(int AColumn, int ARow, bool AValue = false, int AGroupIndex = 0);

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
AValue Initial selected state.
AGroupIndex Radio group; radio buttons with the same group index are mutually exclusive.