The many types of dialog offered by the framework share some common behaviour and settings.
By default, dialogs are tied to their creator. If your widget, script, or UDIX terminates, any open dialog(s) from it will be automatically destroyed. You can change this lifecycle by setting
There are some standard settings which you can apply when creating any type of dialog:
| Function | Description |
| keepAfterParent | Defaults to false, causing a dialog to be destroyed by the framework automatically if its creator terminates. Can be changed to true, giving the dialog independent life. |
| noCancel | Defaults to false. If set to true, the user cannot dismiss a dialog by clicking outside it. They must respond to one of the dialog's buttons. |
| noResize | Prevents a dialog from being resizable by the user |
| windowWidth | Overrides the standard width of the dialog. The value can be specified in pixels, e.g. "450px", or as a % of the browser window size, e.g. "75%". (Ignored on small screens such as mobile phones, where dialogs are always made full-screen.) |
| windowHeight | Overrides the standard height of the dialog. Same options as |
Note: you must set both
In some cases, you don't just get a final result from a dialog. You also get an initial callback which gives you the ID of the dialog. This makes it possible for you to destroy the dialog, using