# Type THotSpotClickEvent

## Declaration

THotSpotClickEvent = procedure(Sender: TObject;

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

## Description

The THotSpotClickEvent type is the type for hot spot click events. These events occur when the mouse is clicked on a hypertext link. URL is the string referenced by the hot spot.

The method which processes the THotSpotClickEvent should returned Handled = True if it wants no further handling of the URL. If Handled is set to false, THtmlViewer will perform default handling.

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:

OnHotSpotClick Event

OnHotSpotCovered Event