[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets or resets the ranges used for scroll bars on the control.
Source position: forms.pp line 187
protected procedure TScrollingWinControl.CalculateAutoRanges; virtual; |
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.
|
Updates Page, AutoRange, IsScrollBarVisible, and returns True when changed. |
|
|
The horizontal scroll bar for the control. |
|
|
The vertical scroll bar for the control. |
|
|
Calculates the size of the client area for the control excluding visible scroll bars. |
|
|
Returns default/preferred height and width, for use in auto-sizing. |
Version 3.2 | Generated 2024-02-25 | Home |