RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScroller.OnClick Event

OnClick occurs after the Position property has been updated in response to the user clicking one of the arrow buttons.

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

Write an OnClick event handler to implement the scrolling action of the object that uses the TScroller to control scrolling. When the user clicks one of the arrow buttons, the Position gets updated by Change (unless the Max or Min value is hit), and then an OnClick event occurs. 

 

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