THtmlViewer, TFrameViewer, and TFrameBrowser components
property OnPanelDestroy: TPanelDestroyEvent;
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.