Sign in Join
FPDoc Onlineexperiment

TDBGridColumns.Update procedure

Member of TDBGridColumnsprotectedIn unit DBGrids

Redraws the Grid control that owns the column collection.

Declaration

pascal
procedure Update(Item: TCollectionItem); override

Arguments

Item

Collection item triggering the update.

Description

Update causes the TDBGrid control which owns the column collection to be redrawn. The value in Grid must be assigned, or no actions are performed in the method. In addition, the Grid control will not be updated if component streaming is active (csLoading in its ComponentState). Update calls TDBGrid.LayoutChanged to cause the Grid control to be redrawn.

See also

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