TTMSFNCListBoxItems Class
Ordered collection of
TTMSFNCListBoxItementries displayed in a list box.
API unit family: TMSFNCListBox
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCListBoxItems = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Indexed access to the items in this collection. |
Methods
| Name | Description |
|---|---|
| Add | Appends a new item with empty text and returns it. |
| AddStrings | Appends items from a TStrings list, optionally clearing the collection first. |
| Clear | Removes all items from the collection. |
| FindItem | Returns the first item whose text matches AText, or nil if not found. |
| Insert | Inserts a new item at the specified zero-based index and returns it. |
| ListBox | Returns the list box that owns this collection. |
| Sort | Sorts items alphabetically by text. |