IFPObserved.FPODetachObserver
Remove an observer from the list of observers.
Declaration
Source position: classesh.inc line 169
default
procedure FPODetachObserver(AObserver: TObject);
Description
FPODetachObserver removes the AObserver object from the list of observers. If it was not in the list, then this is silently accepted. Once removed, it will no longer receive notifications when FPOObservedChanged is called.
If the object was added more than once using FPOAttachObserver]() , then it depends on the implementor of the interface whether or FPODetachObserver must be called an equal number of times.
See also
Name | Description |
---|---|
FPOAttachObserver | |
FPONotifyObservers | |
IFPObserver | Interface for an object to observe other objects. |
FPOObservedChanged | Entry point for change notifications |