[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Updates the range, page, and thumb position for visible scrollbars.
Source position: grids.pas line 966
protected procedure TCustomGrid.CalcScrollbarsRange; |
CalcScrollbarsRange is a procedure used to update the range, page, and thumb position for visible scrollbars 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 scrollbars 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 scrollbars when visible. |
|
|
Updates the horizontal scrollbar to use the specified range, page, and position. |
|
|
Updates the vertical scrollbar to use the specified visibility, range, and page values. |
|
|
Scrolls the non-fixed area for the control by the specified delta values. |
lazarus-ccr.sourceforge.net |