TTMSFNCDataGridRenderer.SetDataRadioButton Method
Turns the cell into a data radio button cell, whose selected state is derived from the cell value.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Overloads
Overload 1
Turns the cell into a data radio button cell, whose selected state is derived from the cell value.
procedure SetDataRadioButton(ACell: TTMSFNCDataGridCellCoord; AValue: Boolean = False; AGroupIndex: Integer = 0); overload;
void __fastcall SetDataRadioButton(TTMSFNCDataGridCellCoord ACell, bool AValue = false, int AGroupIndex = 0);
Parameters
| Name | Description |
|---|---|
ACell |
Cell coordinate. Invalid coordinates are ignored. |
AValue |
Currently not used: the selected state comes 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 data radio button cell, whose selected state is derived from the cell value.
procedure SetDataRadioButton(AColumn, ARow: Integer; AValue: Boolean = False; AGroupIndex: Integer = 0); overload;
void __fastcall SetDataRadioButton(int AColumn, int ARow, bool AValue = false, int AGroupIndex = 0);
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index. |
ARow |
Zero-based row index. |
AValue |
Currently not used: the selected state comes from the cell value. |
AGroupIndex |
Radio group; radio buttons with the same group index are mutually exclusive. |