Table of Contents

TTMSFNCDataGrid.SetBitmap Method

Replaces the existing cell content with a bitmap cell using a TTMSFNCBitmap instance.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Overloads

Overload 1

Replaces the existing cell content with a bitmap cell using a TTMSFNCBitmap instance.

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

Parameters

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

Overload 2

Replaces the existing cell content with a bitmap cell using a BitmapContainer name.

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

Parameters

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

Overload 3

Replaces the existing cell content at the given column and row with a bitmap cell using a TTMSFNCBitmap.

procedure SetBitmap(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

Replaces the existing cell content at the given column and row with a bitmap cell using a BitmapContainer name.

procedure SetBitmap(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.