TControlScrollBar.Range property
The size of the logical display area on the associated control for the scroll bar orientation.
Declaration
property Range: Integer read GetRange write SetRange default 0;Description
Range is an
Integer property with the number of pixels
needed for the logical display area on the control where the scroll bar is
used. It measures the size of the scrolled content in the direction indicated
by the Kind property. The default value for the property is 0, and indicates
the dimensions for the scrollable content is smaller than the Page size for
the scroll bar.
The values in Range and other properties are updated when the associated control recalculates sizes and positions for its scroll bars.
Use Position to determine the origin for the scrollable content displayed in the visible area on the associated control.
Use Page to determine the number of pixels along the scroll bar orientation needed for the visible area on the associated control.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
