Questions tagged [dialog-window]
Dialog windows are special notebook windows of the Mathematica front end.
118 questions
2
votes
1
answer
181
views
Package function doesn't plot math function when given as input
I'm new to Mathematica and I'm trying to learn to write some basic code to create a DialogInput in which the user writes the function to plot.
I'd like to ...
3
votes
1
answer
170
views
Multiple dropdown dialogs in the same window?
Consider a few dropdown dialogs:
...
1
vote
1
answer
90
views
How to stop continuation if no selection made on radio button bar?
The following returns the user's choice among four items on a radio button bar, but it can also give a null return if they hit "OK" without selecting an option. How to avoid this? How to ...
1
vote
0
answers
57
views
Behaviour of OpenerView inside a loop
OpenerView works as expected in this:
OpenerView[{"This is the question", "This is the answer"}, False],
Yet when I put it in a loop, it has no ...
1
vote
0
answers
122
views
How to resolve the following problem with DialogInput/PopupMenu?
Consider the following DialogInput:
...
6
votes
1
answer
284
views
How to make scrollable TogglerBar?
Consider the following TogglerBar:
...
2
votes
1
answer
88
views
How to select only particular values from the list using dialog windows?
Consider some list:
list = {"A","B","C","D"}
How to select only particular values from it using a dynamic dialog window ...
1
vote
1
answer
175
views
A question about ChoiceDialog
Consider some test list that I call LongList:
LongList = Table["Some very-very long name", 300];
I would like to use <...
1
vote
1
answer
106
views
How to completely control the displayed title of a window?
I can't quite seem to find a way to accomplish this task. I want to display an image in its own window with a custom title. This code almost accomplishes the task:
...
1
vote
1
answer
309
views
How to launch specific section of the Mathematica notebook depending on the dialog choice?
Consider some Mathematica notebook where there is some preliminary code followed by chapters, sections, and subsections that must be evaluated using the code. Say, there are ...
3
votes
2
answers
335
views
Enter special character in search box
Usually, I just enter special characters with the Esc key and hence am not familiar with their real code in plain text. But this seems troublesome in the search box ...
5
votes
1
answer
153
views
How to get rid of the "You are pasting text into a string..." dialog or skip it?
Consider the following example:
...
0
votes
1
answer
150
views
How to automatically put the keyboard focus in the InputField of a newly created dialog window?
Suppose I want my code to pop up a dialog window containing an InputField and automatically put the keyboard focus there so it's ready and waiting to accept user ...
2
votes
1
answer
159
views
Problem With Dynamic[] in Graphics
I'm writing a little function to quickly draw some bezier-curves and lines on diagrams. The function opens a DialogInput. The user can use Locators to draw a line onto the diagram. When the user ...
1
vote
0
answers
63
views
Create a dialog inside a palette
I am trying to get better at UI programming, by building a simple greeting.
The user is asked to type his name in a prompt, and Mathematica will then print a greeting using his name:
What is your ...