Table of Contents

TTMSFNCListBox.OnBeforeDrawItemText Event

Occurs before item text is drawn.

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

Syntax

OnBeforeDrawItemText: TTMSFNCListBoxBeforeDrawItemTextEvent;

Parameters

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