TTMSFNCCustomDataGrid.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: TTMSFNCCustomDataGrid
Overloads
Overload 1
Replaces the existing cell content with a radio button cell having the given state and group index.
procedure SetRadioButton(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
Replaces the existing cell content at the given column and row with a radio button cell.
procedure SetRadioButton(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. |