Table of Contents

TTMSFNCListBox.OnBeforeDrawItem Event

Occurs before an item is drawn.

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

Syntax

OnBeforeDrawItem: TTMSFNCListBoxBeforeDrawItemEvent;

Parameters

Name Description
Sender The list box that triggered the event.
AGraphics The graphics context used for drawing.
ARect The item drawing rectangle.
AItem The item being drawn.
AAllow Set to False to skip drawing the item.
ADefaultDraw Set to False to replace the default item drawing.