Table of Contents

TTMSFNCNavigationPanel.OnBeforeDrawCompactItem Event

Occurs before a compact navigation item is drawn.

API unit family: TMSFNCNavigationPanel Declaring type: TTMSFNCNavigationPanel Inherited from: TTMSFNCCustomNavigationPanel

Syntax

OnBeforeDrawCompactItem: TTMSFNCNavigationPanelBeforeDrawCompactItemEvent;

Parameters

Name Description
Sender The navigation panel that raises the event.
AGraphics The graphics context used for drawing.
ARect The compact item drawing rectangle.
ACompactItem The compact item being drawn.
AState The visual state of the compact item.
ADefaultDraw Set to False to suppress default drawing.