TTMSFNCPlanner.OnBeforeDrawCell Event
Occurs before a planner cell is drawn.
API unit family: TMSFNCPlanner
Declaring type: TTMSFNCPlanner
Inherited from: TTMSFNCCustomPlanner
Syntax
OnBeforeDrawCell: TTMSFNCPlannerBeforeDrawCellEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
ARect |
Rectangle affected by the event in control coordinates. |
ACol |
Column index affected by the event. |
ARow |
Row index affected by the event. |
AStartTime |
Start date and time for the affected range or item. |
AEndTime |
End date and time for the affected range or item. |
APosition |
Planner position index affected by the event. |
AKind |
Kind of planner cache item associated with the event. |
AAllow |
Set to False to cancel the drawing or operation. |
ADefaultDraw |
Set to False to suppress the default drawing. |