Sign in Join
FPDoc Onlineexperiment

IFPObserved.FPODetachObserver procedure

Member of IFPObservedIn unit Classes

Remove an observer from the list of observers.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.