Sign in Join
FPDoc Onlineexperiment

TCustomDBGrid.GetDefaultRowHeight function

Member of TCustomDBGridprotectedIn unit DBGrids

Get the default row height for records displayed in the grid.

Declaration

pascal
function GetDefaultRowHeight: Integer; override

Function result

Default height for records displayed in the control.

Description

GetDefaultRowHeight is an overridden Integer function used to get the default row height for records displayed in the grid control. GetDefaultRowHeight calls the inherited GetDefaultRowHeight method to get the return value for the method. The calculated row height is decreased by 2 pixels to allow space for borders on the editors overlaid onto the grid control.

See also

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