TScrollingWinControl.CalculateAutoRanges procedure
Sets or resets the ranges used for scroll bars on the control.
Declaration
procedure CalculateAutoRanges; virtualDescription
CalculateAutoRanges calculates the preferred size for the control
- both with and without scroll bars. The Range properties in HorzScrollBar
and VertScrollBar are updated to reflect the logical (virtual) size for the
content on the control. The Range value is set to 0 if the scroll bar is not
visible.
Used in the implementation of the ComputeScrollbars method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
