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