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

TTaskDialogProgressBar

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Provides information about a progress bar displayed on a TTaskDialog instance.

Declaration

Source position: dialogs.pp line 692

type TTaskDialogProgressBar = class(TPersistent)

public

  constructor Create();

  

Constructor for the class instance.

  procedure Initialize;

  

Sends the initial values for the progress bar to the task dialog where it is hosted.

  procedure SetRange();

  

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

published

  property MarqueeSpeed: Cardinal; [rw]

  

Contains the number of milliseconds between updates for a progress bar using the marquee display style.

  property Max: Integer; [rw]

  

Upper limit for the Position on the progress bar.

  property Min: Integer; [rw]

  

Lower limit for the Position on the progress bar.

  property Position: Integer; [rw]

  

Contains the current position for the progress bar.

  property State: TProgressBarState; [rw]

  

Contains the current drawing state for the progress bar.

end;

Inheritance

TTaskDialogProgressBar

  

Provides information about a progress bar displayed on a TTaskDialog instance.

|

TPersistent,IFPObserved

|

TObject

Description

TTaskDialogProgressBar is a TPersistent descendant used to represent information about a progress bar displayed on a task dialog. It provides properties used to configure or update the progress bar, like: Min, Max, Position, MarqueeSpeed, and State. It includes methods used to create the progress bar on the task dialog, and to send its settings to the widgetset class including its drawing state. It is not the actual progress bar control, however.

TTaskDialogProgressBar is the type used to implement the ProgressBar property in TTaskDialog.

Version info

Added in LCL version 4.0.

See also

TTaskDialog.ProgressBar

  

Contains information used to configure and update a progress bar enabled on the task dialog.


Version 4.0 Generated 2025-05-03 Home