Table of Contents

TTMSFNCDataGridRenderer.AddButton Method

Adds a button cell at the specified cell coordinate.

API unit family: TMSFNCDataGridRenderer Declaring type: TTMSFNCDataGridRenderer

Overloads

Overload 1

Adds a button cell at the specified cell coordinate.

procedure AddButton(ACell: TTMSFNCDataGridCellCoord; AText: string = ''); overload;

Parameters

Name Description
ACell Cell coordinate that receives the button cell.
AText Button caption. An empty string creates a button without a caption.

Overload 2

Adds a button cell at the specified column and row.

procedure AddButton(AColumn, ARow: Integer; AText: string = ''); overload;

Parameters

Name Description
AColumn Zero-based column index that receives the button cell.
ARow Zero-based row index that receives the button cell.
AText Button caption. An empty string creates a button without a caption.