TObservedHook.FPOAttachObserver¶
Attaches an observer implementing IFPObserver interface
Declaration¶
Source position: fpobserver.pp line 41
public
procedure TObservedHook.FPOAttachObserver(AObserver: TObject);
Description¶
The FPOAttachObserver method adds an observer to the notification list. The observer object must implement the IFPObserver interface or an exception will be raised.
Once attached, the observer will receive notifications about all operations performed on the observed object, including changes, item additions, deletions, and custom notifications.
See also¶
| Name | Description |
|---|---|
| EObserver | |
| TObservedHook.FPODetachObserver | Detaches an observer from the notification list |