Vcl.ExtCtrls.TColorListBox.OnGetColors
Delphi
property OnGetColors: TLBGetColorsEvent read FOnGetColors write FOnGetColors;
C++
__property OnGetColors;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TColorListBox |
Description
Occurs when the control is populated with a customized list of colors. {{#multireplace:Vcl.ExtCtrls.TColorListBox.OnGetColors|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ExtCtrls.TCustomColorListBox.OnGetColors|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ExtCtrls.TCustomColorListBox.OnGetColors|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when the control is populated with a customized list of colors.
Use OnGetColors to populate a customized list of colors to be placed in the TColorListBox colors list. OnGetColor is only called if Vcl.ExtCtrls.TCustomColorListBox.Style includes cbCustomColor.
OnGetColors is an event handler of type Vcl.ExtCtrls.TLBGetColorsEvent.