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