Vcl.ComCtrls.TPageScroller.Scroll

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Scroll(Shift: TShiftState; X, Y: Integer;  Orientation: TPageScrollerOrientation; var Delta: Integer); dynamic;

C++

DYNAMIC void __fastcall Scroll(System::Classes::TShiftState Shift, int X, int Y, TPageScrollerOrientation Orientation, int &Delta);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TPageScroller

Description

Called immediately before the page scroller scrolls.

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.

See Also