Share via


Visual Basic: CommonDialog Control

CommonDialog Control (Color Dialog)

See Also   Example   Properties   Methods   Events

The Color dialog is displayed by using the ShowColor method of the CommonDialog control. The Color dialog box allows the user to select a color from a palette or to create and select a custom color.

To use the Color dialog box, set the properties of the CommonDialog control relating to the Color dialog. Then use the ShowColor method to actually show the dialog and use the Color property to retrieve the selected color.