Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.GetSBRanges procedure

Member of TCustomDBGridprotectedIn unit DBGrids

Gets the range values for the scroll bars when visible.

Declaration

pascal
procedure GetSBRanges(const HsbVisible: Boolean; 
 const VsbVisible: Boolean; out HsbRange: Integer; 
 out VsbRange: Integer; out HsbPage: Integer; 
 out VsbPage: Integer; out HsbPos: Integer; 
 out VsbPos: Integer); override

Description

Called from the CalcScrollbarsRange method when the grid has been scrolled or when a size value in ColWidths has been changed.

This description is the one of Grids.TCustomGrid.GetSBRanges.

See also

  • CalcScrollbarsRange
  • ColWidths
  • ScrollBy

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.