Sign in Join
FPDoc Onlineexperiment

TCDPageControl.Destroy destructor

Member of TCDPageControlpublicIn unit CustomDrawnControls

Declaration

pascal
destructor Destroy; override

Description

Not described here; this is what TCustomControl.Destroy says of it:

Destructor for the class instance.

Destroy is the overridden destructor for the class instance.

It calls RemoveFocus to prevent the Parent control from giving focus to the free control. It destroys the Handle for the control, and ensures that the control is removed as a Parent or DockSite for its child controls. It does not free the child controls; they are freed by their owner.

Controls in the DockClient property are updated to remove the class instance from the HostDockSite property in the docking clients.

Destroy frees resource allocated in the constructor, and calls the inherited method prior to exit.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.