Sign in Join
FPDoc Onlineexperiment

TCustomProgressBar.Max property

Member of TCustomProgressBarpublicIn unit ComCtrls

Specifies the maximum value for the Position in the progress bar.

Declaration

pascal
property Max: Integer read GetMax write SetMax default 100;

Description

Max is an Integer property which specifies the maximum value allowed in the Position property. The default value for the property is 100.

Set values for the Min and Max properties as needed to represent the task or operation. Or, use the SetParams method to set both Min and Max values at the same time.

Changing the value for the property causes the ApplyChanges method to be called.

See also

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