# Type THotSpotTargetClickEvent

## Declaration

THotSpotTargetClickEvent = procedure(Sender: TObject;

const Target, URL: string; var Handled: Boolean) of Object;

## Description

The THotSpotTargetClickEvent type is the type for hot spot click events with the TFrameViewer and TFrameBrowser components. These events occur when the mouse is clicked on a hypertext link.

URLThe string referenced by the hot spot. For TFrameBrowser, URL is expanded into a full URL. The original link text may be obtained with the URL property, if necessary.

TargetThe Target attribute (if any) specifying the target window or frame.

The method which processes the THotSpotTargetClickEvent should return Handled equal to True if it wants no further handling of the URL. If Handled is set to false, default handling will be performed.

IsMap

If the URL comes from an image used as an anchor and the IsMap attribute is used, the X, Y pixel position will be passed appended to the URL in the form "?x,y".

See also:

OnHotSpotTargetClick Event

OnHotSpotTargetCovered Event