Table of Contents

TTMSFNCWidgetLEDBarItems Class

Manages the collection of LED items that make up an LED bar. Provides typed access, adding, and inserting of items, and notifies the owner when the collection changes.

API unit family: TMSFNCWidgetLEDBar Inherits from: TTMSFNCOwnedCollection

Syntax

TTMSFNCWidgetLEDBarItems = class(TTMSFNCOwnedCollection)

Properties

Name Description
Items Provides indexed access to the LED items in the collection.

Methods

Name Description
Add Adds a new LED item to the end of the collection.
Insert Inserts a new LED item at the specified position in the collection.
Update Responds to a change in one of the items and raises the change notification so the owner can repaint.

Events

Name Description
OnChanged Occurs when the collection or any of its items changes.