[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomProgressBar.Max

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

Declaration

Source position: comctrls.pp line 1846

public property TCustomProgressBar.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

TCustomProgressBar.Min

  

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

TCustomProgressBar.Position

  

The current position for the progress bar.

TCustomProgressBar.ApplyChanges

  

ApplyChanges - apply any changes that have occurred.


Version 4.0 Generated 2025-05-03 Home