Table of Contents

TTMSFNCHotSpotImage.OnBeforeDrawDownHotSpot Event

Occurs before a pressed hotspot is drawn.

API unit family: TMSFNCHotSpotImage Declaring type: TTMSFNCHotSpotImage Inherited from: TTMSFNCCustomHotSpotImage

Syntax

OnBeforeDrawDownHotSpot: TTMSFNCHotSpotImageBeforeDrawHotSpotEvent;

Parameters

Name Description
Sender Hotspot image that is drawing the hotspot.
AGraphics Graphics context used for drawing.
AIndex Index of the pressed hotspot.
ABoundsRect Bounds of the hotspot.
APolygon Polygon that defines the hotspot shape.
ABitmap Bitmap used for pressed hotspot drawing.
AAllow Set to True to draw the hotspot; set to False to suppress it.
ADefaultDraw Set to True to keep default drawing; set to False when custom drawing replaces it.