TTMSFNCCustomDataGrid.SetButton Method
Replaces the existing cell content with a button cell having the given caption.
API unit family: TMSFNCDataGrid
Declaring type: TTMSFNCCustomDataGrid
Overloads
Overload 1
Replaces the existing cell content with a button cell having the given caption.
procedure SetButton(ACell: TTMSFNCDataGridCellCoord; AText: string = ''); overload;
Parameters
| Name | Description |
|---|---|
ACell |
Target cell coordinate. |
AText |
Button caption text. |
Overload 2
Replaces the existing cell content at the given column and row with a button cell.
procedure SetButton(AColumn, ARow: Integer; AText: string = ''); overload;
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index. |
ARow |
Zero-based row index. |
AText |
Button caption text. |