Table of Contents

TTMSFNCWidgetLEDBarItem Class

Represents a single LED segment within an LED bar. Each item holds its on/off state and the colors used when the LED is lit, unlit, or derived from a base color.

API unit family: TMSFNCWidgetLEDBar Inherits from: TCollectionItem

Syntax

TTMSFNCWidgetLEDBarItem = class(TCollectionItem)

Properties

Name Description
BaseColor Specifies a base color from which the on and off colors are derived.
OffColor Specifies the color used to draw the LED when it is not lit.
State Indicates whether the LED is lit. When True the LED is drawn with the on color; when False it is drawn with the off color.

Events

Name Description
OnColor Specifies the color used to draw the LED when it is lit.

Used by