TTMSFNCPlanner.OnBeforeDrawItemText Event
Occurs before item body text is drawn.
API unit family: TMSFNCPlanner
Declaring type: TTMSFNCPlanner
Inherited from: TTMSFNCCustomPlanner
Syntax
OnBeforeDrawItemText: TTMSFNCPlannerBeforeDrawItemTextEvent;
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. |
AText |
Text value that can be inspected or changed by the handler. |
AAllow |
Set to False to cancel the drawing or operation. |