TComponentMediator.Notification procedure
Handles component free notification events
Declaration
procedure Notification(AComponent: TComponent; Operation: TOperation)
; overrideArguments
AComponent | Component being removed or added |
Operation | Type of notification operation |
Description
The Notification method responds to component destruction events.
When the view component is being destroyed, it automatically clears the component reference and triggers view change handling.
This ensures that the mediator doesn't hold dangling references to destroyed components.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
