TScrollingWinControl.SetAutoScroll procedure
Sets the value for the AutoScroll property.
Declaration
procedure SetAutoScroll(Value: Boolean); virtualDescription
When the property is changed to True, the UpdateScrollBars
method is called to calculate the page, range, and visibility for
HorzScrollBar and VertScrollBar. When changed to
False, the HideScrollbars method is called to reset the
page, range, and visibility for the scroll bars. If the BoundsRect is updated
in either method, the original value is restored prior to exit.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
