Table of Contents

TTMSFNCBloxSelectorItemBeforeDrawText Event Type

Occurs before an item caption is drawn, allowing the text or rendering to be customized.

API unit family: TMSFNCBloxSelector

Parameters

Name Description
Sender The selector that raised the event.
AGraphics The graphics surface to draw on.
ARect The item rectangle.
AItemIndex Index of the item being drawn.
AText The text about to be drawn. The handler may change it to alter the rendered caption.
ADefaultDraw Set to False in the handler to suppress the default text rendering and draw the text entirely yourself.