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

TCustomTrackBar.OnChange

Event handler signalled when the Position in the control has been changed.

Declaration

Source position: comctrls.pp line 2796

published property TCustomTrackBar.OnChange : TNotifyEvent
  read FOnChange
  write FOnChange;

Description

OnChange is a TNotifyEvent property with the event handler signalled when the value in the Position property is changed. The Sender argument for the event is the TCustomTrackBar instance for the notification.

OnChange is signalled from the Change method. It occurs after the new value for Position has been stored and the OnEditingDone event handler has been signalled (when assigned).

See also

TCustomTrackBar.Position

  

Location of the slider on the track bar between the Min and Max values.

TCustomTrackBar.Min

  

Minimum value allowed in the Position for the track bar.

TCustomTrackBar.Max

  

Maximum value allowed in the Position for the track bar.

TCustomTrackBar.Changed

  

Signals the OnChange event handler (when assigned).

TCustomTrackBar.DoChange

  

Performs actions needed to update the position for the track bar and signal the OnChange event.

TControl.OnEditingDone

  

Event handler signalled when editing is completed for the control.


Version 4.0 Generated 2025-05-03 Home