dlg_set_color()

Sets the background and outline colors of a dialog window.

If colors are not specified, default UI colors are used.

Syntax

dlg_set_color(handle, background_color, outline_color)

Parameters

Parameter Type Description
handle String The handle of the dialog.
background_color Number The background color (ARGB format). Optional
outline_color Number The outline color (ARGB format). Optional

Return Value

Examples

Set custom colors for a dialog (background and outline)

dlg_set_color("dialog_123", 0xFF0000FF, 0xFFFF0000);

Use default UI colors

dlg_set_color("dialog_123", 0, 0);

See also

dlg_new
dlg_init
dlg_update
dlg_clear

dlg_show
dlg_abort

dlg_is_valid
dlg_keep_open
dlg_callback

dlg_modal
dlg_set_resizable
dlg_set_pos
dlg_set_size
dlg_set_btn
dlg_set_name
dlg_set_color