[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TColorDialog - dialog for selecting a colour to use in graphics and text
Source position: dialogs.pp line 233
type TColorDialog = class(TCommonDialog) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
function DefaultTitle; override; |
|
DefaultTitle - returns the default title for a dialog |
public |
||
constructor Create(); override; |
|
Create - constructor for TColorDialog: calls inherited Create, makes stringlist for colours and gets colour values |
destructor Destroy; override; |
|
Destroy - destructor for TColorDialog: frees custom colours then calls inherited Destroy |
published |
||
property Title; |
|
The Title or Caption to be shown at the top of the dialog box |
|
Color the colour that is selected by the dialog (a value may have been pre-set and may be accepted, but a new value can be chosen) |
|
property CustomColors: TStrings; [rw] |
|
CustomColors - a customised list of colours that can be used instead of the system-supplied list |
end; |
|
TColorDialog - dialog for selecting a colour to use in graphics and text |
|
| | ||
|
TCommonDialog : the base type from which other dialogs are derived |
|
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
Colour Dialog: presents a palette of colours to allow the user to select the required colour for text or graphics.
Call the Execute function to show the color dialog.
lazarus-ccr.sourceforge.net |