ColorDialog Methods

Overview | This Package | All Packages

ColorDialog Methods

Constructors Description
ColorDialog Creates a ColorDialog control.

Methods Description
getAllowFullOpen Retrieves a boolean value indicating whether the user can use the dialog box to define custom colors.

getAnyColor Retrieves a boolean value indicating whether the dialog box displays all available colors in the set of basic colors.

getColor Retrieves a value indicating the color the user selected in the dialog box.

getCustomColors Retrieves an array that represents the set of custom colors defined in the dialog box.

getFullOpen Retrieves a boolean value indicating whether the controls used to create custom colors are visible when the dialog box is opened or if the user has to click the Define Custom Colors button to display these controls.

getShowHelp Retrieves a boolean value indicating whether the dialog box contains a Help button.

getSolidColorOnly Retrieves a boolean value indicating whether the dialog box displays only solid colors in the set of basic colors or whether it also offers colors that are composites of other colors.

reset Resets all dialog box options, the last selected color, and the custom colors to their default values.

setAllowFullOpen Sets a boolean value indicating whether the user can use the dialog box to define custom colors.

setAnyColor Sets a boolean value indicating whether the dialog box displays all available colors in the set of basic colors.

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

setCustomColors Sets an array that represents the set of custom colors that are defined in the dialog box.

setFullOpen Sets a boolean value indicating whether the controls used to create custom colors are visible when the dialog box is opened or if the user has to click the Define Custom Colors button to display these controls.

setShowHelp Sets a boolean value indicating whether the dialog box contains a Help button.

setSolidColorOnly Sets a boolean value indicating whether the dialog box displays only solid colors in the set of basic colors or whether it also offers colors that are composites of other colors.