Table of Contents

TTMSFNCColorPicker Class

Dropdown color picker showing a configurable color grid with optional color wheel.

API unit family: TMSFNCColorPicker Inherits from: TTMSFNCCustomColorPicker

Syntax

TTMSFNCColorPicker = class(TTMSFNCCustomColorPicker)

Properties

Name Description
CloseOnSelection When True, closes the dropdown automatically after the user selects a color. (inherited from TTMSFNCCustomColorPicker)
Items Collection of color items shown in the dropdown color selector panel. (inherited from TTMSFNCCustomColorPicker)
Mode Layout mode of the embedded color selector controlling grid size and color set. (inherited from TTMSFNCCustomColorPicker)
SelectedColor Currently selected color, displayed as a color swatch in the picker button. (inherited from TTMSFNCCustomColorPicker)

Events

Name Description
OnColorDeselected Fires when the currently selected color is deselected. (inherited from TTMSFNCCustomColorPicker)
OnColorSelected Fires when the user selects a color from the dropdown panel. (inherited from TTMSFNCCustomColorPicker)

Used by