[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBGrids' (#lcl)

TDBGridColumns.Update

Redraws the Grid control that owns the collection

Declaration

Source position: dbgrids.pas line 308

protected procedure TDBGridColumns.Update(

  Item: TCollectionItem

); override;

Arguments

Item

  

Collection item triggering the update

Description

Update causes the TDBGrid control which owns the 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 force the Grid control to be redrawn.

See also

TCollection.Update

The latest version of this document can be found at lazarus-ccr.sourceforge.net.