Sign in Join
FPDoc Onlineexperiment

TCustomProgressBar.Position property

Member of TCustomProgressBarpublicIn unit ComCtrls

The current position for the progress bar.

Declaration

pascal
property Position: Integer read GetPosition write SetPosition default 0;

Description

Position is an Integer property which contains the current position for the progress bar. The values in Position, Min, and Max determine the completion percentage and the length for the progress bar indicator when Style is set to pbstNormal.

Position must be in the range specified by the Min and Max properties. Setting a new value for the property causes the ApplyChanges method to be called. It validates and range limits property values before they are applied to the widgetset class.

Use StepIt and Step to increment the value in Position by a fixed value.

Use StepBy to increment the value in Position by an arbitrary value.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.