[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.ReleaseComponent

Safe destruction of a component, can be requested by the component itself.

Declaration

Source position: forms.pp line 1458

public procedure TApplication.ReleaseComponent(

  AComponent: TComponent

);

Arguments

AComponent

  

The component to destroy.

Description

Unless the application is shutting down, all requests are queued. Queued requests are processed when the application is not currently processing a message.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.