wxrgbdialog()
Description
Displays a dialog (normally an OS common dialog) to allow the selection of a
color. This can have a color value passed in as the default starting
color. If the user exits via the OK button, the selected color will be
returned in the rgb parameter.
Prototype
wxrgbdialog (
type(wxdialogparent) ,
string parent,
integer message,
integer defaultrgb,
string rgb )
result
Parameters
| Parameter | Default value | Type name | Description |
|---|---|---|---|
| parent | .nul | type(wxdialogparent) | Gives the parent of the common dialog, if any. |
| message | "" | string | The text shown in the title bar of the common dialog. |
| defaultrgb | 0 | integer | This supplies the desired default color that should be pre-selected in the dialog. |
| rgb | .nul | integer | This will hold the color that was selected (if one was selected). |
| result | .nul | string |
The result (either "ok" or "cancel")
will be returned in the string object passed as this parameter. It
must be an existing (preinitialized) object.
|


