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

TCustomProgressBar.ApplyChanges

ApplyChanges - apply any changes that have occurred.

Declaration

Source position: comctrls.pp line 1837

protected procedure TCustomProgressBar.ApplyChanges;

Description

ApplyChanges is a method used to apply property values from the progress bar to the widgetset class.

Values in the Min, Max, and Position properties are normalized; i. e. Min <= Position <= Max. When the Handle has been allocated for the control, the values are applied to the widgetset class by calling its ApplyChanges method.

No actions are performed in the method when the component is being loaded using the LCL streaming mechanism.

ApplyChanges is called when the Handle is created (or re-created) in InitializeWnd, and from the Loaded method when component streaming has been completed. It is also called when values in properties are changed, including: Min, Max, Position, Step, Orientation, Smooth, and BarShowText.

See also

TCustomProgressBar.Min

  

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

TCustomProgressBar.Max

  

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

TCustomProgressBar.Position

  

The current position for the progress bar.

TCustomProgressBar.InitializeWnd

  

Applies property values to the widgetset class when the Handle is (re-)created.

TCustomProgressBar.Loaded

  

Applies property values to the widgetset class when component streaming is completed.


Version 4.0 Generated 2025-05-03 Home