JVCL Help:TJvColorComboBox.OnInsertColor
JVCL Help: TJvColorComboBox.OnInsertColor Event
Search in JVCL Help
Search in all projectsSummary
Occurs immediately before a new item is inserted into the combo box color list.
Pascal
propertyOnInsertColor: TJvNewColorEvent;
Description
Write an OnInsertColor event handler to conditionally prevent colors to be added to the color combo box, or to alter the DisplayName of a new color.
Color indicates the new color the user wants to add.
Parameter DisplayName specifies the display text for the new color. It consists of the NewColorText and a number indicating the number of custom colors added by the user, so far. Alter DisplayName to change the display text for the new color.
Set AllowAdd to False to disallow the user to add the color.
See Also
TJvColorComboBox.AddColor, TJvColorComboBox.InsertColor
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page