dlg_comp_size()

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

Syntax

dlg_comp_size(handle, width, height)

Parameters

Parameter Type Description
handle String The dialog handle.
width Number The width of the component in pixels. Optional
height Number The height of the component in pixels. Optional

Return Value

Examples

Set the size of the last added component to 200×50 pixels

dlg_comp_size(hnd, 200, 50);

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