Unit 'DBGrids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#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.