dlg_comp_color()

Sets the name and value text colors of the last added component in a custom dialog.

Syntax

dlg_comp_color(handle, name_color, value_color)

Parameters

Parameter Type Description
handle String The dialog handle.
name_color Number The color of the component's name. Defaults to UI color. Optional
value_color Number The color of the component's value. Defaults to UI color. Optional

Return Value

Examples

Set the name color to red (0xFF0000) and value color to blue (0x0000FF)

dlg_comp_color(hnd, 0xFF0000, 0x0000FF);

See also

dlg_add_image
dlg_add_label
dlg_add_checkbox
dlg_add_num_input
dlg_add_txt_input
dlg_add_button

dlg_comp_pos
dlg_comp_size
dlg_comp_color
dlg_comp_font
dlg_comp_name
dlg_comp_value
dlg_comp_callback