Table of Contents

TTMSFNCCustomDataGrid.AddBitmap Method

Adds a bitmap cell using a TTMSFNCBitmap instance at the specified cell coordinate.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Adds a bitmap cell using a TTMSFNCBitmap instance at the specified cell coordinate.

procedure AddBitmap(ACell: TTMSFNCDataGridCellCoord; ABitmap: TTMSFNCBitmap); overload;

Parameters

Name Description
ACell Target cell coordinate.
ABitmap Bitmap to display in the cell.

Overload 2

Adds a bitmap cell using a BitmapContainer name at the specified cell coordinate.

procedure AddBitmap(ACell: TTMSFNCDataGridCellCoord; AName: string); overload;

Parameters

Name Description
ACell Target cell coordinate.
AName Name of the bitmap in the BitmapContainer.

Overload 3

Adds a bitmap cell using a TTMSFNCBitmap instance at the specified column and row.

procedure AddBitmap(AColumn, ARow: Integer; ABitmap: TTMSFNCBitmap); overload;

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
ABitmap Bitmap to display in the cell.

Overload 4

Adds a bitmap cell using a BitmapContainer name at the specified column and row.

procedure AddBitmap(AColumn, ARow: Integer; AName: string); overload;

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
AName Name of the bitmap in the BitmapContainer.