dlg_add_label()

Adds a text label to a dialog window.

Syntax

dlg_add_label(handle, name, text)

Parameters

Parameter Type Description
handle String The handle of the dialog.
name String The name to display before the label.
text String The text to display on the label.

Return Value

Examples

hnd = dlg_new("My dialog");
dlg_add_label(hnd, "", "The quick brown fox jumps over the lazy dog");
dlg_show(hnd);
hnd = dlg_new("My dialog");
dlg_add_label(hnd, "Status", "It's complicated");
dlg_show(hnd);

See also

dlg_new
dlg_show

dlg_add_separator()
dlg_add_image
dlg_add_label
dlg_add_checkbox
dlg_add_num_input
dlg_add_txt_input
dlg_add_dropbox()
dlg_add_button

dlg_comp_pos
dlg_comp_size
dlg_comp_color
dlg_comp_font
dlg_comp_name
dlg_comp_value
dlg_comp_callback