# OnPanelDestroy Event

## Applies to

THtmlViewer, TFrameViewer, and TFrameBrowser components

## Declaration

property OnPanelDestroy: TPanelDestroyEvent;

## Description

The OnPanelDestroy event occurs when a document containing a <PANEL> or <OBJECT> tag is disposed of. This event allows for the cleanup of any objects created for the panel display.

## See Also:

Type TPanelDestroyEvent

<PANEL> tag

OnPanelCreate Event

OnObjectTag Event