a5_wait_xdialog Function
Syntax
xdialog title as C = a5_wait_xdialog(C msg [,N width ])
Arguments
- msg
Character. Display message as a character text string
- width
Numeric
Description
Displays a modeless Xdialog telling user to wait. Xdialog title is returned so that calling code can close it.
Discussion
The a5_wait_xdialog function opens a modeless xdialog displaying the hourglass icon followed by the text string message. The xdialog title of "a5_wait_xdialog" is returned which is needed to code for the closing of the wait dialog.
Example
a5_wait_xdialog("The time is now")
Xbasic_wait_for_idle()
sleep(3)
ui_modeless_dlg_close("a5_wait_xdialog")
or
dim vR as C
vR=a5_wait_xdialog("The time is now")
Xbasic_wait_for_idle()
sleep(3)
ui_modeless_dlg_close(vR)Mike Wilson