Table of Contents

TTMSFNCDataGrid.AddRadioButton Method

Adds a radio button cell with the specified initial state and group index at the given cell coordinate.

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

Overloads

Overload 1

Adds a radio button cell with the specified initial state and group index at the given cell coordinate.

procedure AddRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0); 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

Adds a radio button cell with the specified initial state and group index at the given column and row.

procedure AddRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0); 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.