Sign in Join
FPDoc Onlineexperiment

TWidgetSet.BeforeDestruction procedure

Member of TWidgetSetpublicIn unit InterfaceBase

Performs actions needed before freeing the class instance.

Declaration

pascal
procedure BeforeDestruction; override

Description

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.