[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TScrollingWinControl.ScrollbarHandler

Tells the widget to scroll the client area, in the given direction.

Declaration

Source position: forms.pp line 174

protected procedure TScrollingWinControl.ScrollbarHandler(

  ScrollKind: TScrollBarKind;

  OldPosition: Integer

); virtual;

Arguments

ScrollKind

  

The direction to scroll.

OldPosition

  

The previous scroll Position, needed to calculate the relative scroll amount.