Vcl.StdCtrls.TScrollBar.LargeChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LargeChange: TScrollBarInc read FLargeChange write FLargeChange default 1;

C++

__property Vcl::Forms::TScrollBarInc LargeChange = {read=FLargeChange, write=FLargeChange, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TScrollBar

Description

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

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 30000 and Min is 0, the scroll box can assume 30,000 positions. If the LargeChange property setting is 10000 and the Position property is 0, the user can click the scroll bar track three times after the thumb tab before it moves all the way to the end of the scroll bar (30000 / 10000 = 3).

LargeChange should correspond to the portion of this range that the user sees in one page or screen, expressed in the logical units used by the Max, Min, and Position properties.

See Also


Code Examples