Vcl.ExtCtrls.TColorListBox.OnGetColors

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetColors;

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.

Vcl.ExtCtrls.TColorListBox.OnGetColors inherits from Vcl.ExtCtrls.TCustomColorListBox.OnGetColors. All content below this line refers to Vcl.ExtCtrls.TCustomColorListBox.OnGetColors.

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.

See Also