[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Performs actions when a component is added to or removed from the application.
Source position: forms.pp line 1633
public procedure TApplication.Notification( |
AComponent: TComponent; |
Operation: TOperation |
); override; |
AComponent |
|
Component for the notification. |
Operation |
|
Operation performed for the component reference. |
Notification is an overridden method in TApplication used to perform actions needed when a component is added to or removed from the application. Notification provides special handling when component references are removed. It ensures that the internal member for a given component is set to Nil when the reference is freed. If the freed component is the MainForm for the application, the Terminate method is called to shut down the application and update the OS-level ExitCode.
Version 3.2 | Generated 2024-02-25 | Home |