Returns or sets the selected color.
Object.Color [ = clrColor ]
The Color property syntax has the following parts:
Name |
Type |
Description |
Object |
ACommonDialog |
ACommonDialog object |
clrColor |
An integer specifying the color of the selected object. |
This property applies to the Color and Font dialogs.
The following example will set the initial Color to be blue:
cdlg1.Color=aclrBlue