Table of Contents

TMS FNC Color Picker Guides

TTMSFNCColorPicker is a drop-down control that lets the user choose a colour from a configurable palette. It shows the selected colour as a filled swatch in its collapsed state, opens a colour selector popup on click, and exposes the chosen value as a standard TAlphaColor.

Topics

Topic Use when
Color selection You need to initialize a color picker, size its drop-down selector, or apply selected colors.

Key properties

Property Purpose
SelectedColor The currently selected colour value (TAlphaColor).
SelectorWidth / SelectorHeight Width and height of the colour selector popup.
ShowColorName Whether to display the colour name alongside the swatch.
ShowAlpha Expose the alpha (opacity) slider in the selector popup.
OnColorSelected Fires when the user confirms a colour choice.

See also