TTMSFNCPlanner.OnBeforeDrawCurrentTimeInGrid Event
Occurs before the current-time marker is drawn in the grid.
API unit family: TMSFNCPlanner
Declaring type: TTMSFNCPlanner
Inherited from: TTMSFNCCustomPlanner
Syntax
OnBeforeDrawCurrentTimeInGrid: TTMSFNCPlannerBeforeDrawCurrentTimeInGridEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
ARect |
Rectangle affected by the event in control coordinates. |
AValue |
Time or coordinate value associated with the event. |
ACurrentTime |
Current date and time represented by the marker. |
AAllow |
Set to False to cancel the drawing or operation. |
ADefaultDraw |
Set to False to suppress the default drawing. |