Represents a common dialog box that displays available colors along with controls that allow the user to define custom colors.


Use Color to get or set the color selected by the user. Use ShowDialog to show the dialog box to the user.

ColorDialog is a modal dialog box; therefore, when shown, it blocks the rest of the script until the user has chosen a color. When a dialog box is displayed modally, no input (keyboard or mouse click) can occur except to objects on the dialog box.


See ColorDialog example.

The CHM file was converted to HTML by chm2web software.