TTMSFNCCustomListEditor Class
Base class for the TMS FNC List Editor control; displays a horizontally or vertically wrapping set of editable chip items with optional images, inline text editing, and custom appearance.
API unit family: TMSFNCListEditor
Inherits from: TTMSFNCCustomScrollControl
Implements: ITMSFNCBitmapContainer, ITMSFNCControlPickerItems
Syntax
TTMSFNCCustomListEditor = class(TTMSFNCCustomScrollControl, ITMSFNCBitmapContainer, ITMSFNCControlPickerItems)
Methods
| Name | Description |
|---|---|
| BeginUpdate | Suspends visual updates until EndUpdate is called. |
| Draw | Renders all chip items onto the control canvas. |
| Editor | Returns the inline text editor control currently used for chip editing. |
| EndUpdate | Resumes visual updates after a matching BeginUpdate call. |
| InitSample | Populates the control with sample chip items for design-time preview. |
| ScrollToItem | Scrolls the list editor so the chip at the specified index is fully visible. |
| UpdateControlAfterResize | Repositions chip items after the control is resized. |
| XYToItem | Returns the zero-based index of the chip at the given pixel coordinates, or -1 if none. |