Vcl.StdCtrls.TScrollBar.OnChange

From RAD Studio API Documentation
Jump to: navigation, search

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.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TScrollBar

Description

Occurs immediately after the value of Position changes.

Write an OnChange event handler to control another object or group of objects using TScrollBar. Adjust the objects controlled by the scroll bar to reflect the new value of Position.

OnChange occurs whether the value of Position is changed by the user or programmatically. If the value of Position is changed by the user, OnChange occurs immediately after the OnScroll event.

See Also