FMX.MultiResBitmap.TCustomMultiResBitmap.Notify
Delphi
procedure Notify(Item: TCollectionItem; Action: TCollectionNotification); override;
C++
virtual void __fastcall Notify(System::Classes::TCollectionItem* Item, System::Generics::Collections::TCollectionNotification Action);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.MultiresBitmap.pas FMX.MultiResBitmap.hpp |
FMX.MultiResBitmap | TCustomMultiResBitmap |
Description
Responds when items are added to or removed from the collection.
FMX.MultiResBitmap.TCustomMultiResBitmap.Notify inherits from System.Classes.TCollection.Notify. All content below this line refers to System.Classes.TCollection.Notify.
Responds when items are added to or removed from the collection.
Notify is called automatically when the items in the collection change.
Item is the item that was just added to or that is about to be removed from the collection.
Action indicates whether the item was added, is about to be extracted or is about to be deleted.
As implemented in TCollection, Notify calls Added when Action is cnAdded and calls Deleting when Action is cnDeleting. TCollection ignores the cnExtracting action. Descendant classes can override Notify to modify this behavior.