[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TScrollBar.LargeChange

Determines how much Position changes when the user clicks the scroll bar on either side of the thumb tab or presses PgUp or PgDn.

Declaration

Source position: scrollbar.inc line 86

published property TScrollBar.LargeChange;

Description

Set LargeChange to specify how much to change the value of Position when the user clicks on the side of the thumb tab (that is, on the thumb tab track, but not on the thumb tab itself). The Max and Min properties define the total range over which Position can vary.

For example, if Max is 100 and Min is 0, the scroll box can assume 100 positions. If the LargeChange property setting is 20 and the Position property is 0, the user can click the scroll bar track five times after the thumb tab before it moves all the way to the end of the scroll bar (100 / 20 = 5).