Sign in Join
FPDoc Onlineexperiment

TTaskDialogProgressBar.Initialize procedure

Member of TTaskDialogProgressBarpublicIn unit Dialogs

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

Declaration

pascal
procedure Initialize

Description

Initialize is a method used to apply the values in the progress bar by notifying the task dialog and its widget. This includes setting the progress bar display style, its minimum and maximum range values, the current position, the drawing state, and the update frequency for a progress bar drawn using the marquee style.

Initialize is called from the DoOnDialogConstructed method in the task dialog when the Handle for the task dialog has been assigned. No actions are performed in the method if the Handle in the task dialog has not been assigned, or when a progress bar has not been enabled using the flags for the task dialog.

Added in LCL version 4.0.

See also

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