Table of Contents

TTMSFNCWidgetLCDLabel Class

Control that displays a numeric or date/time value as a seven-segment LCD style display, with a configurable border, segment colors, and customizable drawing.

API unit family: TMSFNCWidgetLCDLabel Inherits from: TTMSFNCWidgetLCDLabelCustom

Syntax

TTMSFNCWidgetLCDLabel = class(TTMSFNCWidgetLCDLabelCustom)

Properties

Name Description
Border Defines the stroke used to draw the border around the display. (inherited from TTMSFNCWidgetLCDLabelCustom)
Caption Holds the value to display together with its formatting and segment fills. (inherited from TTMSFNCWidgetLCDLabelCustom)
Version Returns the version number of the control.

Methods

Name Description
DrawLcdLabel Draws the current value as a seven-segment display within the given rectangle, raising the before- and after-draw events. (inherited from TTMSFNCWidgetLCDLabelCustom)

Events

Name Description
OnAfterDrawBkg Occurs after the background is drawn, allowing additional custom rendering on top of the background. (inherited from TTMSFNCWidgetLCDLabelCustom)
OnAfterDrawLcdLabel Occurs after the value segments are drawn, allowing additional custom rendering on top of the displayed value. (inherited from TTMSFNCWidgetLCDLabelCustom)
OnBeforeDrawBkg Occurs before the background is drawn, allowing custom rendering or suppression of the default background. (inherited from TTMSFNCWidgetLCDLabelCustom)
OnBeforeDrawLcdLabel Occurs before the value segments are drawn, allowing custom rendering or suppression of the default display. (inherited from TTMSFNCWidgetLCDLabelCustom)

Used by