[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Clears all references to the destroyed control.
Source position: forms.pp line 1599
public procedure TApplication.ControlDestroyed( |
AControl: TControl |
); |
AControl |
|
Control instance which is being freed. |
ControlDestroyed is a method used to update the application when the control in AControl is freed. ControlDestroyed ensures that any property in the application that contains a reference to AControl is set to Nil, including:
Properties in the Screen singleton are also updated to remove any references to AControl, including:
The UpdateLastActive method in Screen is called to perform change notification for the forms and / or controls.
ControlDestroyed is called from the Destroy method in TControl.
|
Removes the control from its Parent. |
Version 4.0 | Generated 2025-05-03 | Home |