ColorDialog.setColor

Overview | Methods | This Package | All Packages

ColorDialog.setColor

Sets a value that indicates which color is selected by default when the dialog box is opened.

Syntax

public final void setColor( Color value )

Parameters

value

A Color object that represents the color that is selected by default when the dialog box is opened. The default value is black.

Remarks

For a code example using this method, see the ColorDialog control topic.

See Also   getColor