TCustomDBGrid.LayoutChanged procedure
LayoutChanged links columns to Fields and inserts any required
automatic columns.Declaration
procedure LayoutChanged; virtualDescription
LayoutChanged is a virtual procedure used to link Columns to the
Fields which read and write the values used in the control. LayoutChanged
calls the TDBGridColumns.LinkFields method establish the column-to-field
association. If Columns have not been explicitly defined, the
AddAutomaticColumns method is called to add a column for each Field in the
linked dataset.
LayoutChanged calls the BeginLayout and EndLayout methods to minimize the number of times the OnLayoutChange event is signalled during updates to the control.
LayoutChanged performs no actions when ComponentState indicates the control is being destroyed (contains csDestroying).
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
