dlg_modal()

Sets a dialog to be modal or non-modal.

A modal dialog prevents user interaction with other parts of the application until it is closed.

Syntax

dlg_modal(handle, is_modal)

Parameters

Parameter Type Description
handle String The handle of the dialog.
is_modal Number `1` to make the dialog modal, `0` for non-modal.

Return Value

Examples

Make a dialog modal

dlg_modal("dialog_123", 1);

Make a dialog non-modal

dlg_modal("dialog_123", 0);

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