Table of Contents

TTMSFNCBloxSelectorItemBeforeDrawBackground Event Type

Occurs before an item background is drawn, allowing custom rendering.

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.
ADefaultDraw Set to False in the handler to suppress the default background rendering and draw the background entirely yourself.