Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9244
| From | Jakob Ebner <jakob.ebner@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | DialogInput in ButtonFunction |
| Date | 2012-03-28 05:34 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jku7t5$8jn$1@smc.vnet.net> (permalink) |
I would like to impement something like the following into the
function of a button which needs the returned value for further
evaluation.
DialogInput[{
InputField[Dynamic[dyn], String],
FileNameSetter[Dynamic[dyn]],
Button["Ok", DialogReturn[dyn]]
}]
Now I encounter two problems:
i) calling DialogInput or CreateDialog whithin a button causes my
Mathematica session to crash.
ii) if this would work I also have the problem that the browse button
won`t work because the evaluation in the main notebook is halted.
Any Suggestions?
Best wishes, Jakob
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
DialogInput in ButtonFunction Jakob Ebner <jakob.ebner@gmail.com> - 2012-03-28 05:34 +0000 Re: DialogInput in ButtonFunction A Retey <awnl@gmx-topmail.de> - 2012-03-29 08:10 +0000 Re: DialogInput in ButtonFunction John Fultz <jfultz@wolfram.com> - 2012-03-30 09:40 +0000
csiph-web