# Type TImageClickEvent

## Declaration

TImageClickEvent = procedure(Sender, Obj: TObject; Button: TMouseButton;

Shift: TShiftState; X, Y: Integer) of Object;

## Description

The TImageClickEvent type is the type for OnImageClick events. These events occur when the mouse is clicked when over an image.

In the above, Sender is the THtmlViewer and Obj is the TImageObj where the click occured. X and Y are the position of the cursor within the image.

See also:

OnImageClick Event

OnImageOver Event