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

TCustomDBGrid.InvalidateSizes

Makes column sizes invalid, recalculates column sizes and re-displays the control.

Declaration

Source position: dbgrids.pas line 427

protected procedure TCustomDBGrid.InvalidateSizes;

Description

InvalidateSizes is a procedure used to force the grid to recalculate column sizes and to repaint its display area. InvalidateSizes updates the GridFlags for the control to include the value gfVisualChange.

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