StdCtrls.TScrollBar.SmallChange

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From StdCtrls.pas

	property SmallChange: TScrollBarInc read FSmallChange write FSmallChange;


Unit: StdCtrls

Type: property

Visibility: published

Member Of: TScrollBar

C++ Information

From StdCtrls.hpp

	__property unsigned short SmallChange = {read=FSmallChange,write=FSmallChange};


Unit: StdCtrls

Type: property

Visibility: public

Member Of: TScrollBar

Description

Determines how much Position changes when the user clicks the arrow buttons on the scroll bar or presses the arrow keys on the keyboard.


Set SmallChange to specify how much to change the value of Position when the user clicks on the arrow buttons. 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 SmallChange property setting is 5 and the Position property is 0, the user can click the down or right arrow button 20 times before the thumb tab is moved all the way to the end of the scroll bar.

SmallChange should correspond to the portion of this range that the user sees as one line or one item, expressed in the logical units used by the Max, Min, and Position properties.

See Also

Code Samples


Personal tools
Translations
Newest Version