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

# TApplication.Handle (platform)

Provides access to the handle for the application instance.

## Declaration

Source position: forms.pp line 1727

`public property TApplication.Handle : TLCLHandle read GetHandle write SetHandle;`

## Description

Handle is a TLCLHandle property which provides access to the handle used for the application instance. Reading the value for the property is redirected to the AppHandle allocated in the widgetset class. Setting the value for the property causes the AppHandle in the widgetset class to be updated with the new value.

Handle is used to send and receive window messages and state change notifications for the application instance using the LCL interface.

## Version info

Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type.

## See also

TLCLHandle |  | Alias to the TLCLHandle type defined for widgetset references.
TWidgetSet.AppHandle |  | Native handle for a TApplication instance.