Displays a Windows common color selection dialog box. This is useful for selecting Red-Green-Blue (RGB) color values.
(dos_getcolor title [default])
title
A string containing the dialog box title.
default
An integer between 1 and 255 that represents an ACI color value, or a list of three integers that represent an RGB color value.
A list of three integers that represent an RGB color value if successful.
nil on error.
Command: (dos_getcolor "Select a color" 1) (255 0 0)
There was an error while loading. Please reload this page.
Home Introduction CAD Function Configuration Functions Directory Functions Drive functions File Functions Math Functions Path Functions Printer Functions Process Functions String Functions System Functions User Interface Functions DOSLib Functions History