Table of Contents

TTMSFNCListBox.OnBeforeDrawItemIcon Event

Occurs before an item icon is drawn.

API unit family: TMSFNCListBox Declaring type: TTMSFNCListBox Inherited from: TTMSFNCCustomListBox

Syntax

OnBeforeDrawItemIcon: TTMSFNCListBoxBeforeDrawItemIconEvent;

Parameters

Name Description
Sender The list box that triggered the event.
AGraphics The graphics context used for drawing.
ARect The icon drawing rectangle.
AItem The item whose icon is being drawn.
AIcon The icon bitmap that will be drawn.
AAllow Set to False to suppress icon drawing.