Sign in Join
FPDoc Onlineexperiment

TColorDialog.Create constructor

Member of TColorDialogpublicIn unit Dialogs

Constructor for the class instance.

Declaration

pascal
constructor Create(TheOwner: TComponent); override

Arguments

TheOwner

Owner of the class instance.

Description

Create is the constructor for TColorDialog, and calls the inherited Create method. Create allocates resources and initializes the default values for properties in the class instance, including:

AlphaChannel
Set to 255 ($FF) for full opacity.
CustomColors
Set to the standard, extended, special, and system colors defined in the graphics.pp unit.
Options
Set to the values in the DefaultColorDialogOptions constant.

Component style flags are also updated in the method.

See also

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