Questions tagged [dialog-window]
Dialog windows are special notebook windows of the Mathematica front end.
92
questions
1
vote
1answer
76 views
+50
Loading Animation in Manipulate
I'm using Manipulate together with CreateDialog to run a ListPlot whenever I click on a ...
5
votes
0answers
60 views
Restoring previous “Save Selection As…” behavior
I've just upgraded to Mathematica version 11.3 (from 8.0) under MacOS 10.11.5. I noticed that when I "Save Selection As..." or "Save Graphic As...", the pre-filled name is "Untitled" plus the ...
1
vote
0answers
18 views
Force dialogue box to foreground even when Mathematica is minimized
Is there a way to make dialogue boxes to come to the foreground, on top of any other non-Mathematica windows, even when Mathematica itself in running in a minimized background window?
I am using ...
14
votes
2answers
315 views
Mathematica notebook opening off the screen
I have an issue with opening Mathematica notebook. I'm using Student version of Mathematica 12.0 on Windows 10. When I initiate the Mathematica or create a new document from the start page, it opens ...
0
votes
1answer
46 views
Multiple choice ChoiceDialog?
I am looking for a dialog box that opens like a ChoiceDialog but it allows me to choose multiple items from a list and returns that list like ...
0
votes
0answers
32 views
How to fix the alignment of Buttons in ChoiceDialog?
Consider the following example:
ChoiceDialog["Pick one", {1 -> "a", 2 -> "b", 3 -> "c", 4 -> "d"}]
It produces appropriately sized buttons in version ...
2
votes
1answer
28 views
Can't select text in CreateDialog, but can select a Quantity
I'm trying to popup a window with a list of strings that I can then individually select and copy to the clipboard. Using CreateDialog I can select items formatted ...
1
vote
1answer
27 views
Use ChoiceDialog to assign value to a variable within a function
This may be a routine answer that I have overlooked, but I am stumped...
If I want to write a function using ChoiceDialog, how can I use what ChoiceDialog returns (true or false) to either set a ...
2
votes
1answer
59 views
Why can't I execute other commands while the dialog is running?
Bug introduced in v10.4 or earlier and persisting through 11.3
CASE:4226661
The code is from the following video:
http://www.wolfram.com/broadcast/video.php?sx=Ian%20Johnson&v=2076
...
0
votes
1answer
24 views
Set the ClosingSaveDialog to False
I would like to stop Mathematica from showing the "Save Changes To" dialog whenever I try to close a notebook.
I tried changing this from the Option Inspector by setting the losingSaveDialog -> False
...
1
vote
0answers
27 views
How to open consecutive dialogs [closed]
I am new using mathematica so I would really appreciate your help.
I want to open this dialog:
...
1
vote
1answer
40 views
Unable to add window title in SystemDialogInput
There appears to be an option called WindowTitle for the SystemDialogInput, but it does not seem to do anything for me:
...
0
votes
0answers
56 views
Suggestions for how to suspend a programme, while preserving the computations, which takes several days to finish?
I have a programme that needs to run for some time (2 days more or less). I only have access to a laptop, which I must turn off at the end of the day.
I thought of making my programme to export the ...
10
votes
1answer
111 views
Dialog box that “times out” if the user doesn't respond
I want to ask the user (me) to make a binary choice, but also to give myself only 5 seconds in which to respond. In the absence of a response within 5 seconds, I want my code to close the dialog box ...
0
votes
0answers
19 views
DialogReturn evaluated too soon [duplicate]
Why does this module return 11 (as expected) when 'Accept' is clicked:
...
1
vote
1answer
75 views
Catching “$Canceled” from SystemDialogInput [closed]
Below is a minimal example of a DynamicModule which has a button to call up a SystemDiaglogInput to allow the user to select a directory. If the user selects a directory, then the name of that ...
3
votes
1answer
101 views
3
votes
2answers
89 views
Automatically extend ChoiceDialog
Writing:
ChoiceDialog["I dati sui nodi sono già stati inseriti?",
{sì -> 0, no -> 1},
Magnification -> 1.5]
I get:
while ...
0
votes
1answer
42 views
1
vote
1answer
68 views
0
votes
0answers
30 views
size of images in dialogboxes [duplicate]
I am having issues with the size of multiple images in dialog boxes.
I am trying to create a dialog box that handles three images (red green and blue channels obtained by a microscope) with color and ...
2
votes
1answer
60 views
0
votes
0answers
155 views
Creating a dialog window
I would like to create a dialog like the one in the picture:
where by default:
the content of $x_1$, $y_1$, $F_{x1}$, $F_{x2}$, $M_{z1}$ is $0$;
the content of $\theta_{e1}$ is disabled;
the tips ...
0
votes
0answers
40 views
Automatically shift window focus to “Find and Replace”
I'm running 11.1 on UbuntuMate.
Currently when I hit Ctl-F, the "Find and Replace" dialog window appears, but the active window remains the notebook I was in. I'd like to have Mathematica make the "...
1
vote
0answers
89 views
Executable notebooks
Last week I made a code, where I use dialogboxes do create a graphic interface. I want this code to be available to any person that might have or not Mathematica. Is there a way to turn this notebook ...
0
votes
1answer
122 views
How to add a picture inside a dialog box
I looked around the documentation, but didn't found anything that could help me add a picture in a dialogbox. I actually didn't know what should I have been looking for. Furthermore, if it is possible ...
3
votes
1answer
171 views
Better alternatives for GUIkit or dialogboxes?
I'm trying to create a custom interface, where I input equivalent electrical resistances which were previously measured, so I can solve a system of 8 non linear equations using FindRoot to get the ...
0
votes
1answer
73 views
Using tab in a dialog box
I'm doing a program in mathematica with which I have custom interface where I input some previously measured equivalente resistances and calculate the actual resistance, by solving a 8 nonlinear ...
1
vote
1answer
61 views
DateTime Input Dialog in Mathematica
I am trying to create a DateTime input dialog that will return a DateTimeObject
...
8
votes
1answer
195 views
Authentication dialog for URLDownload / URLSave
Bug introduced in 11.0 and persists through 11.3
The original problem is was fixed in V11.2 but since then it returns File[path/to/file/that/does/not/exits] ...
4
votes
1answer
127 views
How to use an event handler inside of a Dialog Notebook
I am designing a tank game in Mathematica for my class and currently I have a tank that can drive along a curve and shoot a point at a set angle, but I want to get all of this into some sort of pup up ...
0
votes
0answers
65 views
How to forbid that Authentication Required windows?
As the Great Firewall,I am hard to access Stack Exchange,So I use VPN.I'm in 11.1.Everytime I open Mathemtica,this windows will pop up when I open my VPN,
But when I close the VPN it will disappear....
9
votes
0answers
119 views
How to suppress the escape window?
Cross posted here
If we first enter an empty string (""), and then paste something within the quotation marks, the following dialog box will pop up:
I recorded a ...
8
votes
1answer
161 views
Inconsistent Authorization Dialog (401) handling
Bug introduced in V11 and fixed in 11.3
[CASE:3855554] was created
[...] It does appear that the URLRead is not behaving correctly. I have forwarded an incident report to our developers with ...
0
votes
0answers
140 views
How to close a popup window?
I want to give user more information about each function I develop. I want to do that inside a popup window for visual purposes. I do ->
...
3
votes
0answers
86 views
What is the Kernel waiting for after DialogInput is launched?
Bug introduced in 11.0 or earlier and persisting through 11.2
[...] I was able to reproduce the issue, and consequently, I filed a report with our development team [...]
CASE:3805351
I find ...
2
votes
1answer
195 views
How to omit the authentification dialog during URLRead?
When I use URLRead
Mathematica will popup a window like:
Actually I have given the parameters Password and ...
6
votes
3answers
137 views
How to create a window which will close in a certain amount of time?
I'm currently making an interface in Mathematica and I'll need to bump a window out and then let it close itself in a certain amount of time.
Here's an short example to illustrate the effect:
...
6
votes
1answer
162 views
How to refuse close Dialog when press Esc Key
As you can see in the documentation of CreateDialog:
If the dialog contains no DefaultButton or ...
7
votes
1answer
114 views
Notebooks created after prompting a Modal dialog
Bug reproduced in 10.3.1 and persisting through 11.2.0
From:
Note: Modal dialogs will prevent users from accessing other notebooks in the front end while the ...
1
vote
1answer
46 views
'Contingent' user interface (DialogNotebook with PopupMenus that depend on previous PopupMenus)
I'm creating a user interface for data entry. It makes sense for the content of certain menu items to depend on the information that has been entered earlier on the form.
In a trivial example, ...
3
votes
1answer
139 views
Dialog notebook with multiple popup menus
I'm trying to create a user interface in Mathematica; the user will enter specified information, it will be processed, and then data will be inserted into a MySQL database. The pieces work ...
2
votes
1answer
126 views
Using IF commands in a Dynamic Module
Is there a way to use a functional If command in a DynamicModule? I have a code which runs a car driving up a street using ...
0
votes
1answer
77 views
Using SystemDialogInput in a Manipulate expression
I want to add the select directory function in a user interface such as:
...
2
votes
0answers
91 views
Interface design to replace cascading dialogs which don't work
I would like to make a nice Interface of a simulation I wrote, but i don't know how.
I want that you run the code and then a window asking for input of some values appears (either in the same ...
10
votes
3answers
195 views
The very bottom of CellMargins is missing
Bug introduced in 8 or earlier and persists through 12.0
Edit 16. IV 2016 I've received an answer from WRI Support:
[...] It does appear that CellMargins is not ...
2
votes
1answer
194 views
How do I run DialogInput and SystemDialogInput by keyboard shortcut?
I have tried modifying KeyEventTranslations.tr with code:
...
0
votes
1answer
72 views
How to avoid improper update of Dynamic in a Dialog?
I want to request user input of an expression of f(x) from a dialog and then use ToExpression on the input.
Questions:
When I execute the code below, I got r ...
5
votes
1answer
191 views
Blocking dialog with a blocking child dialog
Suppose I have a DialogInput, in which there is a Button. The Button can trigger another <...
0
votes
1answer
296 views
Why isn't SystemDialogInput opening the file browser, even using Method->Queued?
I have a small function that, when run, opens up a little dialog window. One of the buttons, if clicked, opens up a file browser and lets you select a file. You can click that same button again and ...