TCustomGrid.CalcScrollbarsRange procedure
Updates the range, page, and thumb position for visible scroll bars.
Declaration
procedure CalcScrollbarsRangeDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
