COLORREQUEST

Top  Previous  Next

Syntax

UINT = COLORREQUEST(win as WINDOW,OPT initcolor as UINT)

Description

Opens the standard palette dialog and returns the selected color

Parameters

win - Window or dialog to use as the parent.

initcolor - Color to show as initially selected.

Return value

RGB value of the select color

Remarks

See Also: RGB

Example usage

mycolor = COLORREQUEST(mywnd, RGB(0,0,0))