DOCUMENTATION CENTER SEARCH
Mathematica
>
Dialog Boxes
>
Built-in
Mathematica
Symbol
DialogInput
DefaultButton
CancelButton
Exit
See Also »
|
Custom Interface Construction
Dialog Boxes
More About »
DialogReturn
DialogReturn
[
expr
]
closes a dialog window, returning the expression
expr
from the dialog.
DialogReturn
[]
closes a dialog window, returning
Null
.
MORE INFORMATION
If
DialogReturn
[
expr
]
is used inside a dialog put up by
DialogInput
, then
expr
will be the value returned by
DialogInput
.
If
DialogReturn
[
expr
]
is used inside a dialog created by
CreateDialog
,
expr
will be evaluated and then discarded.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Put up a dialog window that returns
123
when the button is clicked:
In[1]:=
In[2]:=
Out[2]=
DialogReturn
[]
returns
Null
.
In[1]:=
In[2]:=
Out[2]//FullForm=
Scope
(3)
Properties & Relations
(3)
SEE ALSO
DialogInput
DefaultButton
CancelButton
Exit
MORE ABOUT
Custom Interface Construction
Dialog Boxes
New in 6
© 2008 Wolfram Research, Inc.