Table of Contents

TTMSFNCColorSelector Class

Grid-based color selector component with configurable color sets and optional color wheel overlay.

API unit family: TMSFNCColorSelector Inherits from: TTMSFNCCustomColorSelector

Syntax

TTMSFNCColorSelector = class(TTMSFNCCustomColorSelector)

Properties

Name Description
Items Collection of color items displayed in the selector grid. (inherited from TTMSFNCCustomColorSelector)
Mode Layout mode controlling the grid size and available color set. (inherited from TTMSFNCCustomColorSelector)
SelectedColor Currently selected color value; gcNull when no item is selected. (inherited from TTMSFNCCustomColorSelector)

Methods

Name Description
ColorWheelActive Returns True when the color wheel overlay panel is currently visible and active. (inherited from TTMSFNCCustomColorSelector)
FindColorByItem Returns the color value assigned to the item at the given index. (inherited from TTMSFNCCustomColorSelector)
FindItemByColor Returns the item index of the first item whose color matches the given color value. (inherited from TTMSFNCCustomColorSelector)
InitSample Initializes the selector sample items and color wheel support controls. (inherited from TTMSFNCCustomColorSelector)
InitializeDefault Rebuilds the selector with the default color set for the current mode. (inherited from TTMSFNCCustomColorSelector)

Events

Name Description
OnColorDeselected Fires when the currently selected color item is deselected. (inherited from TTMSFNCCustomColorSelector)
OnColorSelected Fires when the user selects a color item in the grid or wheel. (inherited from TTMSFNCCustomColorSelector)

Used by