Table of Contents

TTMSFNCWidgetArrow Class

Control that displays a rotating arrow whose direction and color reflect a value, with optional value text and a caption.

API unit family: TMSFNCWidgetArrow Inherits from: TTMSFNCWidgetArrowCustom

Syntax

TTMSFNCWidgetArrow = class(TTMSFNCWidgetArrowCustom)

Remarks

Set TTMSFNCWidgetArrowCustom.Value to rotate the arrow and configure its appearance through ArrowOptions.

Properties

Name Description
ArrowOptions Appearance settings for the arrow shape, including its colors, border, margin and head dimensions.
Border Stroke used to draw the control border. (inherited from TTMSFNCWidgetArrowCustom)
CaptionOptions Settings that control the optional caption shown above or below the arrow. (inherited from TTMSFNCWidgetArrowCustom)
ValueFont Font used to draw the value text. (inherited from TTMSFNCWidgetArrowCustom)
ValueText Format string used to render the value text. A %g or %d placeholder is replaced with the current value. (inherited from TTMSFNCWidgetArrowCustom)
Version Read-only version string of the control.

Events

Name Description
OnAfterDrawArrow Occurs after the arrow is drawn; allows custom overlay drawing. (inherited from TTMSFNCWidgetArrowCustom)
OnAfterDrawBkg Occurs after the background is drawn; allows custom overlay drawing. (inherited from TTMSFNCWidgetArrowCustom)
OnAfterDrawCaptionText Occurs after the caption is drawn; allows custom overlay drawing. (inherited from TTMSFNCWidgetArrowCustom)
OnAfterDrawValueText Occurs after the value text is drawn; allows custom overlay drawing. (inherited from TTMSFNCWidgetArrowCustom)
OnBeforeDrawArrow Occurs before the arrow is drawn; allows suppressing or replacing the default arrow shape. (inherited from TTMSFNCWidgetArrowCustom)
OnBeforeDrawBkg Occurs before the background is drawn; allows suppressing or replacing the default background. (inherited from TTMSFNCWidgetArrowCustom)
OnBeforeDrawCaptionText Occurs before the caption is drawn; allows suppressing the default caption rendering. (inherited from TTMSFNCWidgetArrowCustom)
OnBeforeDrawValueText Occurs before the value text is drawn; allows suppressing the default text rendering. (inherited from TTMSFNCWidgetArrowCustom)
OnGetCaptionText Occurs while resolving the caption text; allows the handler to replace the caption that is shown. (inherited from TTMSFNCWidgetArrowCustom)
OnGetValueText Occurs while resolving the value text; allows the handler to replace the text that is shown. (inherited from TTMSFNCWidgetArrowCustom)

Used by