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

TCustomColorBox

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

Declaration

Source position: colorbox.pas line 46

type TCustomColorBox = class(TCustomComboBox)

protected

  function ColorRectWidthStored;

  

  procedure DrawItem(); override;

  

  procedure SetColorList;

  

  procedure Loaded; override;

  

  procedure InitializeWnd; override;

  

  procedure DoAutoAdjustLayout(); override;

  

  procedure DoGetColors; virtual;

  

  procedure CloseUp; 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; [r]

  

  property ColorNames []: string; [r]

  

  property Selected: TColor; [rw]

  

  property DefaultColorColor: TColor; [rw]

  

  property NoneColorColor: TColor; [rw]

  

  property OnGetColors: TGetColorsEvent; [rw]

  

  property ColorDialog: TColorDialog; [rw]

  

end;

Inheritance

TCustomColorBox

  

|

TCustomComboBox

  

The base class for combo-box components.

|

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