TProgress
Models the degrees to which something has progressed
Source
Progress.pas (25)
Description
Progress is modeled as a Step
out of a Total
. It is up to the user
to choose a unit of measurement. As TProgress
values can be summed you must make
sure that those units are consistent. For instance, when processing a group of files it is a good
idea to use the number of bytes as a unit so the file size can be summed and provide a natural result.
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | public | TInteger | Step | |
Instance | public | TInteger | Total |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | public | TFloatingPoint64 | ToFloatingPoint64() | |
Global | public | TProgress | Implicit(Value: TFloatingPoint64) | |
Global | public | TFloatingPoint64 | Implicit(Value: TProgress) | |
Global | public | TProgress | Add(Left: TProgress; Right: TProgress) |