Table of Contents

TTMSFNCTileList.OnBeforeDrawItemBackground Event

Occurs before an item background is drawn and allows default drawing to be suppressed.

API unit family: TMSFNCTileList Declaring type: TTMSFNCTileList Inherited from: TTMSFNCCustomTileList

Syntax

OnBeforeDrawItemBackground: TTMSFNCTileListBeforeDrawItemBackgroundEvent;

Parameters

Name Description
Sender Object that triggered the event.
AGraphics Graphics context used for drawing.
ARect Bounds of the item background.
AItemIndex Zero-based index of the item.
ADefaultDraw Set to False to skip default drawing.