Vcl.Dialogs.TColorDialog.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TColorDialog(System::Classes::TComponent* AOwner);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TColorDialog

Description

Creates and initializes a color-selection dialog.

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.

See Also