dlg_set_pos()

Sets the position of a dialog window on the screen.

Syntax

dlg_set_pos(handle, x, y)

Parameters

Parameter Type Description
handle String The handle of the dialog.
x Number The x-coordinate of the dialog position.
y Number The y-coordinate of the dialog position.

Return Value

Examples

Move the dialog to position (100, 200)

dlg_set_pos("dialog_123", 100, 200);

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