Xbasic
UI_DLG_MODAL Function
Syntax
Result as L = UI_DLG_MODAL(C title)
Arguments
- Result
The event generated by the modeless dialog box.
- title
The name of the dialog box.
Description
Make a modeless dialog behave like a modal dialog.
Discussion
The UI_DLG_MODAL() function makes a modeless dialog box behave like a modal dialog box.
Example
The following example displays a modeless dialog box, makes it modal, and displays the result. The result is the event generated by the modeless dialog box.
ui_modeless_dlg_box("Visible Xdialog", <<%dlg% <20,3Click Here> %dlg%) result = ui_dlg_modal("Visible Xdialog") ui_msg_box("What was the result?", result)
Limitations
Desktop applications only.
See Also