Sign in Join
FPDoc Onlineexperiment

TColorDialog.Color property

Member of TColorDialogpublishedIn unit Dialogs

Color selected by the user in the color dialog.

Declaration

pascal
property Color: TColor read FColor write FColor;

Description

Color is a TColor property with the color selected using the dialog. A value can be pre-set in Color and accepted, but a new value may also be chosen. When the Color dialog is displayed and the user pressed OK, the Color property contains the chosen color.

Use CustomColors to define a palette with color names and their hexadecimal values available in the dialog.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.