Xbasic
UI_MODELESS_DLG_BUTTON_RESET Function
Syntax
C UI_MODELESS_DLG_BUTTON_RESET(C title[,C value])
Arguments
- title
The title of the dialog.
- value
The new value of the button.
Description
Reset the value of a dialog box button.
Discussion
The UI_MODELESS_DLG_BUTTON_RESET() function resets the value of the first button on a modeless dialog box.
Example
This example is in two parts. First, start a modeless dialog box with buttons.
ui_modeless_dlg_box("Basic Modeless Dialog", <<%dlg%
{xmargin=10}
{ymargin=2}
<20,2Click Here!MyButton>{sp=2}<20,2Or Click Here!MyButton>
%dlg%)Then reset the button value.
ui_modeless_dlg_button_reset("Basic Modeless Dialog","")See Also