TWidgetSet.BeforeDestruction procedure
Performs actions needed before freeing the class instance.
Declaration
procedure BeforeDestruction; overrideDescription
BeforeDestruction is an overridden method used to perform actions
needed prior to freeing the class instance. BeforeDestruction ensures that
resources allocated for the
ThemeServices property are freed and
nil'd. BeforeDestruction calls the inherited method prior to exit.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
