Table of Contents

TTMSFNCDataGrid.SetProgressBar Method

Replaces the existing cell content with a progress bar cell having the given initial value.

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

Overloads

Overload 1

Replaces the existing cell content with a progress bar cell having the given initial value.

procedure SetProgressBar(ACell: TTMSFNCDataGridCellCoord; AValue: Integer = 0); overload;

Parameters

Name Description
ACell Target cell coordinate.
AValue Initial progress value in the range 0–100.

Overload 2

Replaces the existing cell content at the given column and row with a progress bar cell.

procedure SetProgressBar(AColumn, ARow: Integer; AValue: Integer = 0); overload;

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
AValue Initial progress value in the range 0–100.