# OnObjectTag Event

## Applies to

THtmlViewer, TFrameViewer, and TFrameBrowser components

## Declaration

property OnObjectTag: TObjectTagEvent;

## Description

The OnObjectTag event occurs when an <object> tag is encountered at document load time. This event may be used by the programmer to respond appropriately to the <object> tag. The HTML <object> tag is used to insert special devices (such as Macromedia Flash) into an HTML document.

The OnObjectTag event is similar to the OnPanelCreate event in that a ThvPanel is created to provide a base for whatever object is specified. However, the calling sequence and data provided differ and are appropriate for the <object> tag.

## See Also:

Type TObjectTagEvent

<PANEL> tag

OnPanelCreate Event

OnPanelPrint Event

OnPanelDestroy Event