Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.AddProgressBar Method

Turns a cell into a progress bar cell.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Overloads

Overload 1

Turns a cell into a progress bar cell.

FMX.TMSFNCDataGrid.hppPascalC++
procedure AddProgressBar(ACell: TTMSFNCDataGridCellCoord; AValue: Integer = 0); overload;
void __fastcall AddProgressBar(const TTMSFNCDataGridCellCoord &ACell, int AValue = 0x0)/* overload */;

Remarks

The position is stored separately from the cell value and is read or written through ProgressValue. To show the numeric cell value instead, use AddDataProgressBar.

Parameters

Name Description
ACell Target cell coordinate. Invalid coordinates are ignored.
AValue Initial progress value, typically 0 to 100 (the default range of the progress control).

Overload 2

Turns the cell at the given column and row into a progress bar cell whose position is stored in ProgressValue.

FMX.TMSFNCDataGrid.hppPascalC++
procedure AddProgressBar(AColumn, ARow: Integer; AValue: Integer = 0); overload;
void __fastcall AddProgressBar(int AColumn, int ARow, int AValue = 0x0)/* overload */;

Parameters

Name Description
AColumn Zero-based column index.
ARow Zero-based row index.
AValue Initial progress value, typically 0 to 100.