Sign in Join
FPDoc Onlineexperiment

TCustomColorListBox.ColorNames property

Member of TCustomColorListBoxpublicIn unit ColorBox

Provides indexed access to the names for the Colors used in the control.

Declaration

pascal
property ColorNames[Index: Integer]: string read GetColorName;

Description

ColorNames is a String property which provides indexed access to the names for the values stored in Colors property. Setting a new value for the indexed property causes the control to be redrawn.

Values in Colors and ColorNames are used in the DrawItem method when the color sample and the color name for an item is drawn on the control Canvas.

Use Colors to get the TColor value for one the Items in the control.

Use Style to determine the colors and names available in the combo-box control.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.