Table of Contents

TTMSFNCWidgetProgressBeforeDrawProgressSectionsEvent Event Type

Occurs before the progress ring sections are drawn, allowing custom drawing or suppression of the default rendering.

API unit family: TMSFNCWidgetMarqueeContinuousProgress

Parameters

Name Description
Sender The control that raises the event.
AGraphics The graphics surface to draw on when supplying custom rendering.
RectCircle The rectangle that bounds the ring.
CircleOptions The ring appearance options, including thickness and fills.
SectionCount The number of sections the ring is split into.
AngleDrawSweepEachSection The sweep angle, in degrees, drawn for each section.
SectionGapAngle The gap, in degrees, between adjacent sections.
AngleCurrentSection The current angle, in degrees, of the leading highlighted section.
ColorCurrentSection The fill used for the leading highlighted section.
ColorSideSections The fill used for the sections adjacent to the leading section.
AAllow Set to False in the handler to skip both the default drawing and the matching after-draw notification for this paint pass.
ADefaultDraw Set to False in the handler to suppress the built-in section drawing while still allowing the after-draw notification.