TTMSFNCNavigationPanel.OnBeforeDrawItem Event
Occurs before a navigation item is drawn.
API unit family: TMSFNCNavigationPanel
Declaring type: TTMSFNCNavigationPanel
Inherited from: TTMSFNCCustomNavigationPanel
Syntax
OnBeforeDrawItem: TTMSFNCNavigationPanelBeforeDrawItemEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The navigation panel that raises the event. |
AGraphics |
The graphics context used for drawing. |
ARect |
The item drawing rectangle. |
AItem |
The item being drawn. |
AState |
The visual state of the item. |
ADefaultDraw |
Set to False to suppress default drawing. |