[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomColorBox - base class for TColorBox
Source position: colorbox.pas line 47
type TCustomColorBox = class(TCustomComboBox) |
||
protected |
||
procedure DrawItem(); override; |
|
DrawItem - perform the action necessary to draw the specified indexed item at the specified position |
procedure SetColorList; |
|
SetColorList - specifies the list of colours to be presented in the drop-down |
procedure Loaded; override; |
||
procedure InitializeWnd; override; |
|
InitializeWnd - initialise the window for this control |
procedure DoGetColors; virtual; |
|
DoGetColors - perform the code for getting colours |
procedure Change; override; |
|
Change - software emulation of OnChange event |
function PickCustomColor; virtual; |
|
PickCustomColor - if True, a custom colour is picked rather than one of the standard list |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomColorBox: calls inherited Create, sets style, default colours and colour list, ReadOnly and Selected properties |
property Style: TColorBoxStyle; [rw] |
|
Style : may be Simple, a single-line Drop-Down or a Drop-Down list, or some version drawn by the Owner |
|
Colors the colour specified by the Index |
|
property ColorNames: String; [r] |
|
ColorNames - the name of the specified (indexed) colour, stored as a string |
|
The colour that has been Selected from the ComboBox |
|
property DefaultColorColor: TColor; [rw] |
|
DefaultColorColor - the default colour, expressed as a Color value |
property NoneColorColor: TColor; [rw] |
|
NoneColorColor - the colour to be used when no selection has been made, or when None is selected, stored as a TColor |
property OnGetColors: TGetColorsEvent; [rw] |
|
OnGetColors - event handler for the instruction to Get Colours |
end; |
|
TCustomColorBox - base class for TColorBox |
|
| | ||
|
TCustomComboBox - the base class from which TComboBox is derived |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |