Sign in Join
FPDoc Onlineexperiment

TControlScrollBar.SetPage procedure

Member of TControlScrollBarprotectedIn unit Forms

Number of pixels needed for a page on the associated control.

Declaration

pascal
procedure SetPage(const AValue: TScrollBarInc); virtual

Arguments

AValue

New value for the property.

Description

Page is a TScrollBarInc property with the number of pixels needed for a page using the orientation in Kind for the scroll bar. This is the amount that the associated control is scrolled when the track bar or direction indicators are clicked on the scroll bar. The default value for the property is 80 pixels.

When the associated control is a TScrollingWinControl descendant, the scroll information is retrieved using the Handle for the control. The property value may be changed when the associated control calls its UpdateScrollbars method. This can occur when the handle is created for the associated control, or when its AutoScroll property is changed.

Changing the value for the property causes the ControlUpdateScrollBars method to be called to update the scroll bars in the associated control.

This description is the one of Forms.TControlScrollBar.Page.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.