TTMSFNCPlanner.OnBeforeDrawItem Event
Occurs before a planner item is drawn.
API unit family: TMSFNCPlanner
Declaring type: TTMSFNCPlanner
Inherited from: TTMSFNCCustomPlanner
Syntax
OnBeforeDrawItem: TTMSFNCPlannerBeforeDrawItemEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
ARect |
Rectangle affected by the event in control coordinates. |
AItem |
Planner item affected by the event. |
AAllow |
Set to False to cancel the drawing or operation. |
ADefaultDraw |
Set to False to suppress the default drawing. |