TTMSFNCWidgetProgressBeforeDrawProgressArcEvent Event Type
Occurs right before the progress arc is painted, allowing the drawing to be suppressed, replaced or supplemented with custom output.
API unit family: TMSFNCWidgetMarqueeProgress
Parameters
| Name | Description |
|---|---|
Sender |
Control that raises the event. |
AGraphics |
Graphics surface to draw on. |
RectCircle |
Bounding rectangle of the circular area in which the arc is drawn. |
CircleOptions |
Appearance settings used for the arc, such as fill and thickness. |
APercentComplete |
Current progress value expressed as a percentage. |
StartAngleArc |
Start angle of the arc in degrees. |
EndAngleArc |
Sweep angle of the arc in degrees. |
AAllow |
Set to False in the handler to cancel drawing of the arc and the matching after-draw notification. |
ADefaultDraw |
Set to False in the handler to skip the built-in arc rendering and draw it manually instead. |