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

# TCustomTrackBar.PageSize

The increment (or decrement) applied to the slider Position when the PageUp or PageDown key is pressed.

## Declaration

Source position: comctrls.pp line 2787

`published property TCustomTrackBar.PageSize : Integer read FPageSize write SetPageSize default 2;`

## Description

PageSize is an Integer property with the increment or decrement applied to the Position property when the PageUp or PageDown key is pressed while the control has focus. The default value for the property is 2.

For some platforms, modified cursor keys can be used for the same purpose. For example: Ctrl+Left, Ctrl+Right, Ctrl+Up, or Ctrl+Down.

Changing the value for the property causes the ApplyChanges method to be called to update the settings in the widgetset class instance.

Use LineSize to control the increment applied to Position when an unmodified cursor key is pressed while the control has focus.

## See also

TCustomTrackBar.Position |  | Location of the slider on the track bar between the Min and Max values.
TCustomTrackBar.LineSize |  | Increment (or decrement) applied to the slider position when an arrow key is pressed.
TCustomTrackBar.ApplyChanges |  | Sends message to update the visual appearance of the object.