Vcl.DBGrids.TDBGridColumns.Update

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Update(Item: TCollectionItem); override;

C++

virtual void __fastcall Update(System::Classes::TCollectionItem* Item);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TDBGridColumns

Description

Updates the collection to reflect changes to its items.

Vcl.DBGrids.TDBGridColumns.Update inherits from System.Classes.TCollection.Update. All content below this line refers to System.Classes.TCollection.Update.

Updates the collection to reflect changes to its items.

Override Update in a descendent class to make any necessary changes when the items in the collection change. This method is called automatically when an update is complete.

Item identifies the item that changed. If the Item parameter is nil (Delphi) or NULL (C++), then the change affects more than one item in the collection.

As implemented in TCollection, Update does nothing. Descendent classes override this method to make any necessary adjustments.

See Also