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

ScopeVisibilityTypeNameDescription
InstancepublicTIntegerStep
InstancepublicTIntegerTotal

Methods

ScopeVisibilityResultNameDescription
InstancepublicTFloatingPoint64ToFloatingPoint64()
GlobalpublicTProgressImplicit(Value: TFloatingPoint64)
GlobalpublicTFloatingPoint64Implicit(Value: TProgress)
GlobalpublicTProgressAdd(Left: TProgress; Right: TProgress)