Vcl.Dialogs.TColorDialog.Color

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Color: TColor read FColor write FColor default clBlack;

C++

__property System::Uitypes::TColor Color = {read=FColor, write=FColor, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TColorDialog

Description

Returns the selected color.

When the user selects a color in the dialog box and clicks OK, the selected color becomes the value of the Color property. To make a default color of choice appear in the dialog when it opens, assign a value to Color in the Object Inspector or in program code, otherwise the default is clBlack.

See Also

Code Examples