Table of Contents

TTMSFNCListEditor Class

TMS FNC List Editor control: displays a wrapping set of editable chip items with optional left/right images, inline text editing, read-only mode, and custom chip appearance.

API unit family: TMSFNCListEditor Inherits from: TTMSFNCCustomListEditor

Syntax

TTMSFNCListEditor = class(TTMSFNCCustomListEditor)

Properties

Name Description
BitmapContainer Bitmap container used to resolve named bitmaps for chip left/right images. (inherited from TTMSFNCCustomListEditor)
ItemAppearance Default appearance settings for all chip items. (inherited from TTMSFNCCustomListEditor)
Items Collection of chip items displayed in the list editor. (inherited from TTMSFNCCustomListEditor)
ReadOnly When True, chips cannot be edited, inserted, or deleted. (inherited from TTMSFNCCustomListEditor)
SelectedItemIndex Zero-based index of the currently selected chip, or -1 if none is selected. (inherited from TTMSFNCCustomListEditor)

Methods

Name Description
BeginUpdate Suspends visual updates until EndUpdate is called. (inherited from TTMSFNCCustomListEditor)
Draw Renders all chip items onto the control canvas. (inherited from TTMSFNCCustomListEditor)
Editor Returns the inline text editor control currently used for chip editing. (inherited from TTMSFNCCustomListEditor)
EndUpdate Resumes visual updates after a matching BeginUpdate call. (inherited from TTMSFNCCustomListEditor)
InitSample Populates the control with sample chip items for design-time preview. (inherited from TTMSFNCCustomListEditor)
ScrollToItem Scrolls the list editor so the chip at the specified index is fully visible. (inherited from TTMSFNCCustomListEditor)
UpdateControlAfterResize Repositions chip items after the control is resized. (inherited from TTMSFNCCustomListEditor)
XYToItem Returns the zero-based index of the chip at the given pixel coordinates, or -1 if none. (inherited from TTMSFNCCustomListEditor)

Events

Name Description
OnEditorCreate Fires to allow the application to supply a custom editor control class. (inherited from TTMSFNCCustomListEditor)
OnEditorGetSize Fires to allow the application to set a custom size for the inline editor. (inherited from TTMSFNCCustomListEditor)
OnEditorGetText Fires to allow the application to supply the initial text shown in the inline editor. (inherited from TTMSFNCCustomListEditor)
OnEditorHide Fires when the inline editor control is hidden after editing. (inherited from TTMSFNCCustomListEditor)
OnEditorShow Fires when the inline editor control becomes visible for a chip. (inherited from TTMSFNCCustomListEditor)
OnEditorUpdate Fires when the inline editor content changes so the item can be updated. (inherited from TTMSFNCCustomListEditor)
OnItemAnchorClick Fires when the user clicks an HTML anchor inside a chip label. (inherited from TTMSFNCCustomListEditor)
OnItemAppearance Fires to allow per-item appearance customization during painting. (inherited from TTMSFNCCustomListEditor)
OnItemCanDelete Fires to allow the application to prevent deletion of a specific chip. (inherited from TTMSFNCCustomListEditor)
OnItemClick Fires when the user clicks a chip item. (inherited from TTMSFNCCustomListEditor)
OnItemDelete Fires when a chip item is deleted from the collection. (inherited from TTMSFNCCustomListEditor)
OnItemInsert Fires when a new chip item is inserted into the collection. (inherited from TTMSFNCCustomListEditor)
OnItemLeftImageClick Fires when the user clicks the left image of a chip. (inherited from TTMSFNCCustomListEditor)
OnItemRightImageClick Fires when the user clicks the right image of a chip. (inherited from TTMSFNCCustomListEditor)
OnItemUpdate Fires when a chip item's text is updated after editing. (inherited from TTMSFNCCustomListEditor)

Used by