RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageScroller.Scroll Method

Called immediately before the page scroller scrolls.

Pascal
procedure Scroll(Shift: TShiftState; X: Integer; Y: Integer; Orientation: TPageScrollerOrientation; var Delta: Integer); dynamic;
C++
__fastcall Scroll(TShiftState Shift, int X, int Y, TPageScrollerOrientation Orientation, int Delta);

Override the Scroll method in a derived class to handle the scrolling event. 

By default, Scroll calls the OnScroll event handler. 

Shift is the state of the Shift, Alt, Ctrl keys and mouse buttons. 

X is the horizontal position of the page scroller. 

Y is the vertical position of the page scroller. 

Orientation is the direction for the scroll. 

Delta is the amount of the scroll. 

 

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