RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollBar.OnChange Event

Occurs immediately after the value of Position changes.

Pascal
property OnChange: TNotifyEvent;
C++
__property TNotifyEvent OnChange;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!