# Type TPanelCreateEvent

## Declaration

TPanelCreateEvent = procedure(Sender: TObject; const AName, AType, SRC: string;

Panel: ThvPanel) of Object;

## Description

The TPanelCreateEvent type is the type for the OnPanelCreate event. This event occurs when a <PANEL> tag is encountered at document load time.

Sender is the THtmlViewer displaying the ThvPanel.

Panel is the ThvPanel (similar to TPanel) created for the display. Its Name property has been assigned to the NAME attribute value and its Height and Width properties have been assigned the values of the HEIGHT and WIDTH attributes.

AType and SRC contains the value assigned to the TYPE and SRC attributes.

See also:

OnPanelCreate Event

<PANEL> Tag