TTMSFNCTabSet.OnBeforeDrawTabProgress Event
Occurs before a tab progress indicator is drawn and allows default drawing to be suppressed.
API unit family: TMSFNCTabSet
Declaring type: TTMSFNCTabSet
Inherited from: TTMSFNCCustomTabSet
Syntax
OnBeforeDrawTabProgress: TTMSFNCTabSetBeforeDrawTabProgressEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
ATabIndex |
Zero-based index of the tab being drawn. |
ARect |
Bounds of the progress indicator. |
AProgressMode |
Progress animation mode for the tab. |
AProgressKind |
Progress indicator shape for the tab. |
AAnimationStartAngle |
Start angle used by circular marquee animation. |
AAnimationSweepAngle |
Sweep angle used by circular marquee animation. |
AProgress |
Current progress value. |
AProgressMax |
Maximum progress value. |
ADefaultDraw |
Set to False to skip default drawing. |