## wb_sys_dlg_color

long wb_sys_dlg_color (int parent [, string title [, int color]])

Displays the standard Select Color dialog box. Returns a RGB value which is the selected color value or NOCOLOR if the dialog box was canceled. Returns NULL if not successful.

# Parameters

parent is a handle to the WinBinder object that will serve as the parent for the dialog box.
title is currently ignored.
color is an optional RGB value used to initialize the dialog box.

# Example

// Snippet showing how to use a standard Path dialog box $color = wb_sys_dlg_color($window, '', BLACK); if($color != NOCOLOR) // Do action here }

# See also

Dialog functions