Unit 'ColorBox' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomColorListBox

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: colorbox.pas line 170

type TCustomColorListBox = class(TCustomListBox)

protected

  function ColorRectWidthStored;

  

  procedure DrawItem(); override;

  

  procedure SetColorList;

  

  procedure Loaded; override;

  

  procedure InitializeWnd; override;

  

  procedure DoAutoAdjustLayout(); override;

  

  procedure DoGetColors; virtual;

  

  procedure DoSelectionChange(); override;

  

  function PickCustomColor; virtual;

  

  procedure Notification(); override;

  

public

  constructor Create(); override;

  

  property ColorRectWidth: Integer; [rws]

  

  property ColorRectOffset: Integer; [rw]

  

  property Style: TColorBoxStyle; [rw]

  

  property Colors []: TColor; [rw]

  

  property ColorNames []: string; [r]

  

  property Selected: TColor; [rw]

  

  property DefaultColorColor: TColor; [rw]

  

  property NoneColorColor: TColor; [rw]

  

  property OnGetColors: TLBGetColorsEvent; [rw]

  

  property ColorDialog: TColorDialog; [rw]

  

end;

Inheritance

TCustomColorListBox

  

|

TCustomListBox

  

The base class for TListBox.

|

TWinControl

  

Implements a windowed control which can contain other child controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

|

TObject



CT Web help

CodeTyphon Studio