Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControlScrollBar.Page

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

Declaration

Source position: forms.pp line 159

published property TControlScrollBar.Page : TScrollBarInc
  read GetPage
  write SetPage
  default 80;

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.



CT Web help

CodeTyphon Studio