RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGrpButtonItems.Update Method

Updates the collection to reflect changes to its items.

Pascal
procedure Update(Item: TCollectionItem); override;
C++
virtual __fastcall Update(TCollectionItem Item);

Override Update in a descendant 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. Descendant classes override this method to make any necessary adjustments. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!