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

TTaskDialogProgressBar.Max

Upper limit for the Position on the progress bar.

Declaration

Source position: dialogs.pp line 714

published property TTaskDialogProgressBar.Max : Integer
  read FMax
  write SetMax
  default 100;

Description

Max is an Integer property which contains the upper limit for the position on the progress bar; the value in Position must be in the range Min..Max inclusive. The default value for the property is 100.

Changing the property value causes the SetRange method to be called. This allows the task dialog and the widgetset class to be notified when the range for the progress bar has been updated.

Use Min to set the lower limit for the value in Position.

Use Position to set the current position for the progress bar.

Position, Min, and Max are not used when the task dialog is configured to use the marquee drawing style for its progress bar.

Version info

Added in LCL version 4.0.

See also

TTaskDialogProgressBar.Min

  

Lower limit for the Position on the progress bar.

TTaskDialogProgressBar.Position

  

Contains the current position for the progress bar.

TTaskDialogProgressBar.SetRange

  

Applies the values in the Min and Max properties to the progress bar control on a task dialog.


Version 4.0 Generated 2025-05-03 Home