TTMSFNCDataGridRenderer.SetProgressBar Method
Turns the cell into a progress bar cell with the given position.
API unit family: TMSFNCDataGridRenderer
Declaring type: TTMSFNCDataGridRenderer
Overloads
Overload 1
Turns the cell into a progress bar cell with the given position.
procedure SetProgressBar(ACell: TTMSFNCDataGridCellCoord; AValue: Integer = 0); overload;
void __fastcall SetProgressBar(TTMSFNCDataGridCellCoord ACell, int AValue = 0);
Remarks
For a progress bar that follows the numeric cell value, use SetDataProgressBar.
Parameters
| Name | Description |
|---|---|
ACell |
Cell coordinate. Invalid coordinates are ignored. |
AValue |
Progress position, stored separately from the cell value. |
Overload 2
Turns the cell at (
AColumn,ARow) into a progress bar cell with the given position.
procedure SetProgressBar(AColumn, ARow: Integer; AValue: Integer = 0); overload;
void __fastcall SetProgressBar(int AColumn, int ARow, int AValue = 0);
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column index. |
ARow |
Zero-based row index. |
AValue |
Progress position, stored separately from the cell value. |