[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TCustomDBGrid.GetDefaultRowHeight

Get the default row height for records displayed in the grid

Declaration

Source position: dbgrids.pas line 467

protected function TCustomDBGrid.GetDefaultRowHeight: Integer; override;

Function result

Default height for records displayed in the control

Description

GetDefaultRowHeight is an overriden 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 vaue 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

#lcl.Grids.TCustomGrid.GetDefaultRowHeight

  

GetDefaultRowHeight - returns the default row height

The latest version of this document can be found at lazarus-ccr.sourceforge.net.