TTMSFNCPlanner.OnBeforeDrawTopNavigationButton Event
Occurs before the top navigation button is drawn.
API unit family: TMSFNCPlanner
Declaring type: TTMSFNCPlanner
Inherited from: TTMSFNCCustomPlanner
Syntax
OnBeforeDrawTopNavigationButton: TTMSFNCPlannerBeforeDrawTopNavigationButtonEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
ARect |
Rectangle affected by the event in control coordinates. |
AButton |
Navigation button being drawn. |
AButtonState |
Current visual state of the navigation button. |
AAllow |
Set to False to cancel the drawing or operation. |
ADefaultDraw |
Set to False to suppress the default drawing. |