Sign in Join
FPDoc Onlineexperiment

FreeWidgetSet procedure

In unit Forms

Destroys singletons for the Screen, Application, and WidgetSet.

Declaration

pascal
procedure FreeWidgetSet

Description

FreeWidgetSet is a procedure used to free resources allocated to the Screen, Application, Clipboards, and WidgetSet singletons.

For Screen, allocated cursors and monitors are destroyed. Application is freed, and set to Nil. All clipboard formats are freed as well. The WidgetSet singleton is freed, and set to Nil.

FreeWidgetSet executes the CallInterfaceFinalizationHandlers routine to perform any finalization handlers installed for the LCL interface.

See also

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