getColorFromUser

HC GUI programming Standard Dialogs getColorFromUser
FileSelector getFontFromUser

getColorFromUser stdColor


Operation to show a color selector dialog, where the user can choose a color with either RGB numbers, from a set of standard colors, or by clicking on a color gradient and choosing the brightness.

stdColor is the initial selected color.

Output is the choosen color as a int.

Examples:

pr reRGB (getColorFromUser)
pr reRGB getColorFromUser RGB 1 0.5 0.25

References:

FileSelector getFontFromUser