Vcl.Forms.TControlScrollBar.Increment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Increment: TScrollBarInc read FIncrement write FIncrement stored IsIncrementStored default 8;

C++

__property TScrollBarInc Increment = {read=FIncrement, write=FIncrement, stored=IsIncrementStored, default=8};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TControlScrollBar

Description

Determines how far the display moves when the user clicks one of the small end arrows on the scroll bar.

Use Increment to control how the scroll bar affects the scrollable region of the control. If Increment is set to 1, each click scrolls by one position; if Increment is set to 2, each click scrolls by two positions; and so forth.

Note: Do not use the Increment property when Smooth is set to true. When Smooth is true, every time the range or visibility of the scroll bar changes, the value of Increment is dynamically recomputed.

See Also

Code Examples