Clear the MUI Object and all it's Childs
Source position: MUIClass.Base.pas line 120
public procedure TMUINotify.ClearObject; override; |
When a Parent MUI object is destroyed, it will destroy all it's childs automatically. Usually only DestroyObject is called for the most top most object, (mostly Application, which will do it itself, when the main window is closed) which will destroy all other MUI objects as well. And this function will clean the MUI Object pointers in all Child Pascal Objects to reflect this.
|
Root class object can not be destroyed |