Table of Contents

TTMSFNCBitmapEditorListView Class

Editor list view that accepts bitmap images via drag-and-drop from the file system.

API unit family: TMSFNCEditorListView Inherits from: TTMSFNCEditorListView

Syntax

TTMSFNCBitmapEditorListView = class(TTMSFNCEditorListView)

Properties

Name Description
Appearance Visual appearance settings for the list and its items. (inherited from TTMSFNCEditorListView)
DefaultItemHeight Default row height in pixels for items that do not specify their own height. (inherited from TTMSFNCEditorListView)
DrawNoteText When True, the secondary note text is rendered below each item name. (inherited from TTMSFNCEditorListView)
EditMode When True, an item is currently being edited inline. (inherited from TTMSFNCEditorListView)
ImagesClickable When True, clicking an item's image is treated as an image interaction rather than a plain item click. (inherited from TTMSFNCEditorListView)
Items The collection of bitmap items displayed in the list. (inherited from TTMSFNCEditorListView)
ItemsMovable When True, items can be reordered by dragging them within the list. (inherited from TTMSFNCEditorListView)
ItemsReadOnly When True, item name and note text cannot be edited inline. (inherited from TTMSFNCEditorListView)
LastSelectedItemIndex Zero-based index of the most recently selected item, or -1 if none. (inherited from TTMSFNCEditorListView)
ShowImages When True, each item displays its associated image. (inherited from TTMSFNCEditorListView)

Methods

Name Description
AddDroppedFiles Handles files dropped onto the list from the file system and adds each supported image file as a new bitmap item.
BeginUpdate Suspends visual updates; call EndUpdate to resume. (inherited from TTMSFNCEditorListView)
DeleteSelectedItems Removes all selected items and their corresponding bitmaps from the list.
EndEditMode Exits inline edit mode, optionally applying the edited value. (inherited from TTMSFNCEditorListView)
EndUpdate Resumes visual updates after a BeginUpdate call and redraws the list. (inherited from TTMSFNCEditorListView)
GetListHeight Returns the total pixel height required to display all items without scrolling. (inherited from TTMSFNCEditorListView)
GetSelectedItems Returns an array of all currently selected items.
SelectAllItems Selects all items in the list. (inherited from TTMSFNCEditorListView)
SelectItem Selects the item at the specified zero-based index and loads its bitmap into the editor.
SetAcceptDrag Enables or disables drag-and-drop file acceptance for the list. (inherited from TTMSFNCEditorListView)
StartEditMode Enters inline edit mode for the currently focused item. (inherited from TTMSFNCEditorListView)
UnselectAllItems Clears the selection state of all items. (inherited from TTMSFNCEditorListView)
UpdateList Recalculates item layout and redraws the entire list. (inherited from TTMSFNCEditorListView)

Events

Name Description
OnAddNewItem Fired when the user adds a new item to the list. (inherited from TTMSFNCEditorListView)
OnDoubleClickItem Fired when the user double-clicks an item. (inherited from TTMSFNCEditorListView)
OnItemSelectedChanged Fired when an item's selection state changes. (inherited from TTMSFNCEditorListView)
OnItemsChanged Fired when the items collection changes. (inherited from TTMSFNCEditorListView)