Table of Contents

TTMSFNCWidgetProgressBeforeDrawProgressSetpointEvent Event Type

Occurs before the progress and setpoint indicators are drawn, allowing a handler to suppress drawing or replace the default rendering.

API unit family: TMSFNCWidgetSetPoint

Parameters

Name Description
Sender Control raising the event.
AGraphics Graphics surface to draw on.
RectCircle Bounding rectangle of the circular gauge area.
SetPoint Current setpoint value, in value-range units.
APosition Current position (value), in value-range units.
alculatedScaledPosition Position scaled to a 0-100 range for placement on the circle.
CalculatedScaledSetPoint Setpoint scaled to a 0-100 range for placement on the circle.
CalculatedPositionPointOnCircle Point on the circle where the position indicator is placed.
CalculatedSetpointPointOnCircle Point on the circle where the setpoint indicator is placed.
AAllow Set to False to cancel drawing of the indicators entirely.
ADefaultDraw Set to False to skip the built-in indicator drawing and render the indicators in the handler instead.