Xbasic
UI_MODELESS_DLG_REFRESH Function
Syntax
V UI_MODELESS_DLG_REFRESH(C title[,L asynchronous])
Arguments
- title
The title of the dialog.
- asynchronous
Logical
Description
Refresh the contents of the named modeless dialog box.
Discussion
The UI_MODELESS_DLG_REFRESH() function refreshes a modeless dialog box.
Example
This example works in three steps. First, create and display a global variable.
dim global text as C text = "Message 1" ui_modeless_dlg_box("Basic Modeless Dialog", <<%dlg% {xmargin=10} {ymargin=2} {Text=15,2:Text}; %dlg%,<<%code% ui_modeless_dlg_close("Basic Modeless Dialog") %code%)
Then change the global variable in the Interactive window.
text = "Message 2"
Finally, refresh the modeless dialog to see the changed value of text.
ui_modeless_dlg_refresh("Basic Modeless Dialog")
See Also