Color Property (ACommonDialog)

Returns or sets the selected color.

Syntax

Object.Color [ = clrColor ]

The Color property syntax has the following parts:

 

Name

Type

Description

Object

ACommonDialog

ACommonDialog object

clrColor

AColor

An integer specifying the color of the selected object.

Comments

This property applies to the Color and Font dialogs.

Example

The following example will set the initial Color to be blue:

cdlg1.Color=aclrBlue

Applies to

ACommonDialog

See Also

ColorOptions, ShowColor