Vcl.ExtCtrls.TCustomColorListBox.OnGetColors

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetColors: TLBGetColorsEvent read FOnGetColors write FOnGetColors;

C++

__property TLBGetColorsEvent OnGetColors = {read=FOnGetColors, write=FOnGetColors};

Properties

Type Visibility Source Unit Parent
event public
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomColorListBox

Description

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