RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TColorDialog.Create Constructor

Creates and initializes a color-selection dialog.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TColorDialog(TComponent * AOwner);

Create generates a TColorDialog instance. 

AOwner is the component, typically a form or data module, that is responsible for freeing the TColorDialog instance. It becomes the value of the Owner property.

Note: Creating a TColorDialog instance does not cause the dialog to appear to the user. To display the color dialog, use the Execute method.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!