TTMSFNCEditorListItem Class
Represents a single item in an editor list view, with a name, optional image, note text, and an embedded control.
API unit family: TMSFNCEditorListView
Inherits from: TCollectionItem
Syntax
TTMSFNCEditorListItem = class(TCollectionItem)
Properties
| Name |
Description |
| AccessoryBitmap |
Accessory image shown on the right side of the item. |
| AccessoryClickable |
When True, the accessory area responds to mouse clicks and touch. Default is False. |
| Bitmap |
Image displayed in the item's image area. |
| Control |
Embedded control rendered inside the item's control area. |
| ControlAlignment |
How the embedded control is aligned within the item's control area. Default is caNone. |
| ControlPosition |
Position of the embedded control within the item. Default is cpCenterCenter. |
| DataObject |
Optional object associated with this item for application use. |
| DataString |
Optional string associated with this item for application use. |
| DrawRect |
Bounding rectangle of the item as last calculated during a layout pass. |
| Enabled |
When False, the item is grayed and does not respond to interaction. Default is True. |
| FontColor |
Custom font color for this item's name text. |
| HorizontalNameAlign |
Horizontal alignment of the item name text. Default is gtaLeading. |
| HorizontalNoteAlign |
Horizontal alignment of the note text. Default is gtaLeading. |
| IsSplitter |
When True, the item is rendered as a visual separator line. Default is False. |
| ItemHeight |
Custom row height in pixels. When 0, the list uses its default item height. |
| Name |
Primary display name rendered as the main text of the item. |
| NoteText |
Secondary note text displayed below the item name. |
| Selected |
When True, the item is shown in the selected state. Default is False. |
| SelectedFontColor |
Custom font color for this item's name text when the item is selected. |
| Tag |
Integer tag for application-specific identification of this item. |
Methods
| Name |
Description |
| DoBitmapChanged |
Notifies the owning list view that the item bitmap has changed so the control can be repainted. |
Events
| Name |
Description |
| OnChanged |
Notified when any item property changes. |