[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Initializes or updates the scroll bars for the control.
Source position: forms.pp line 207
public procedure TScrollingWinControl.UpdateScrollbars; |
UpdateScrollbars is a method used to update the scroll bars used on the windowed control.
When automatic scrollbars are enabled using AutoScroll, the scroll bar information is initialized as needed for the visible scroll bars. The UpdateScrollBar method in both VertScrollBar and HorzScrollBar is called to recalculate the current page and range for the scroll bars.
No actions are performed in the method if a handle has not been allocated for the control, or when either HorzScrollBar or VertScrollBar has not been assigned.
Recursive calls to the method are ignored.
|
Indicates whether scroll bars are automatically displayed or hidden when needed. |
|
|
Updates Page, AutoRange, IsScrollBarVisible, and returns True when changed. |
|
|
Updates the state and position for the scroll bar in the associated Control. |
Version 3.2 | Generated 2024-02-25 | Home |