TTMSFNCTileList.OnBeforeDrawBadge Event
Occurs before an item badge is drawn and allows default drawing to be suppressed.
API unit family: TMSFNCTileList
Declaring type: TTMSFNCTileList
Inherited from: TTMSFNCCustomTileList
Syntax
OnBeforeDrawBadge: TTMSFNCTileListBeforeDrawBadgeEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
AItemRect |
Bounds of the item. |
ABadgeRect |
Bounds of the badge. |
ABadgeText |
Badge text being drawn. |
AItemIndex |
Zero-based index of the item. |
ADefaultDraw |
Set to False to skip default drawing. |