Sign in Join
FPDoc Onlineexperiment

TCustomGrid.ResetDefaultColWidths procedure

Member of TCustomGridprotectedIn unit Grids

Restores the default width for columns in the grid.

Declaration

pascal
procedure ResetDefaultColWidths; virtual

Description

ResetDefaultColWidths updates an internal member with the list of column widths currently in use for the grid. The width for each column is set to -1 to indicate that an explicit value has not been assigned for the column width.

ResetDefaultColWidths calls the VisualChange method after resetting the column widths to their default values. No actions are performed in the method when AutoFillColumns contains True.

See also

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