TColorDialog.Create constructor
Constructor for the class instance.
Declaration
constructor Create(TheOwner: TComponent); overrideArguments
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.ppunit. - 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.
