Sign in Join
FPDoc Onlineexperiment

TCustomGrid.ColWidthsChanged procedure

Member of TCustomGridprotectedIn unit Grids

Performs actions needed when the widths for grid columns have been changed.

Declaration

pascal
procedure ColWidthsChanged; virtual

Description

ColWidthsChanged has an empty implementation in TCustomGrid. It is not currently used in any descendent classes in the LCL. It can be overridden in custom controls to perform any actions needed when one or more of the column widths has been changed. One common use is to invalidate the grid control and cause it to be redrawn.

ColWidthsChanged is called when a new value is specified for the indexed ColWidths property and Columns have been enabled for the control.

See also

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