[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Loads the list of colors used in the control.
Source position: colorbox.pas line 196
protected procedure TCustomColorListBox.SetColorList; |
SetColorList is used to fill the Items in the control with the Colors and ColorNames available in the list box.
SetColorList clears any existing values in Items, and loads the predefined colors needed for the settings in the Style property. When Style included the value cbCustomColors , the OnGetColors event handler is signalled to load custom colors in the Items, Colors, and ColorNames properties.
The value in Selected is restored prior to exiting from the method.
Version 4.0 | Generated 2025-05-03 | Home |