[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Updates the range, page, and thumb position for visible scroll bars.
Source position: grids.pas line 991
protected procedure TCustomGrid.CalcScrollbarsRange; |
CalcScrollbarsRange is a procedure used to update the range, page, and thumb position for visible scroll bars in the grid control. CalcScrollbarsRange accesses the cached grid data in GCache to calculate values needed in the method. The visibility for both horizontal and vertical scroll bars is determined, and the range, page and thumb position is applied in the UpdateHorzScrollBar and UpdateVertScrollbar methods.
CalcScrollbarsRange is used in the implementation of the ScrollBy and UpdateSizes methods in TCustomGrid.
|
Contains cached data about the visual layout and state for the grid control. |
|
|
Gets the range values for the scroll bars when visible. |
|
|
Updates the horizontal scroll bar to use the specified range, page, and position. |
|
|
Updates the vertical scroll bar to use the specified visibility, range, and page values. |
|
|
Scrolls the non-fixed area for the control by the specified delta values. |
Version 4.0 | Generated 2025-05-03 | Home |