Vcl.ComCtrls.TTrackBar.OnChange
Delphi
property OnChange: TNotifyEvent read FOnChange write FOnChange;
C++
__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTrackBar |
Description
Occurs immediately after the value of Position changes.
Write an OnChange event handler to take specific action whenever the position of the slider may have changed. For example, if the track bar is being used to control another object, update the other object from an OnChange event handler.