dlg_comp_name()

Sets the name of the last added component in a custom dialog.

Syntax

dlg_comp_name(handle, name)

Parameters

Parameter Type Description
handle String The dialog handle.
name String The new name of the component.

Return Value

Examples

Set the name of the last added component to “Speed Control”

dlg_comp_name(hnd, "Speed Control");

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