Skip to main content

TdxCustomColorGallery.EditValue Property

Specifies the currently selected color.

Declaration

property EditValue: Variant read; write;

Property Value

Type
Variant

Remarks

End-users can pick a color within a color palette using the mouse or keyboard. The selected color has a frame indicating the selection.

You can programmatically select a palette color via the EditValue or ColorValue property.

Assigning a new value to any of these properties does the following:

  • Clears the current selection;

  • Searches the palette for the color that corresponds to the new value and, if found, emphasizes this color with a frame;

  • Fires the OnChange event.

The default value of the EditValue property is clNone.

See Also