Questions tagged [dialog-window]

Dialog windows are special notebook windows of the Mathematica front end.

0
votes
1answer
36 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
29 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
20 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
23 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
56 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
26 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
36 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
55 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 ...
9
votes
1answer
97 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
40 views

Is it possible to have something similar to a chatbot in mathematica?

I was thinking about doing something similiar to a chatbot, my idea was to work with CreateDialog, but in a way, that the follow up is conditional on the answer of the previous question and pops up ...
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
67 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
87 views

Scrollbar in DialogInput

Writing: ...
3
votes
2answers
85 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
39 views

Error with Subscript in DialogInput

Writing: ...
1
vote
1answer
64 views

Problem with DialogInput and store variable

Writing: ...
0
votes
0answers
29 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
55 views

Error about CreateDialog

Writing: ...
0
votes
0answers
129 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
38 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
84 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
82 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
163 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
65 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
58 views

DateTime Input Dialog in Mathematica

I am trying to create a DateTime input dialog that will return a DateTimeObject ...
8
votes
1answer
190 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
114 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
61 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
118 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
159 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
130 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
85 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
185 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
132 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
147 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
112 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
43 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
128 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
123 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
72 views

Using SystemDialogInput in a Manipulate expression

I want to add the select directory function in a user interface such as: ...
2
votes
0answers
90 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
181 views

The very bottom of CellMargins is missing

Bug introduced in 8 or earlier and persists through 11.3 Edit 16. IV 2016 I've received an answer from WRI Support: [...] It does appear that CellMargins is not ...
2
votes
1answer
182 views

How do I run DialogInput and SystemDialogInput by keyboard shortcut?

I have tried modifying KeyEventTranslations.tr with code: ...
0
votes
1answer
68 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
186 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
274 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 ...
5
votes
2answers
90 views

Creating a warning before executing a function if not cancelled?

How could I create a warning dialog that executes a function if not cancelled after a delay ? Also I would like the time remaining before execution to be displayed and the dialog to be non blocking.
1
vote
1answer
177 views

Dialog box with variable number of input fields

I am trying create a dialog window for updating a variable number of parameters $\beta_i$. Here are the relevant bits of my code, which first constructs a list of $\beta_i$ parameters, then constructs ...
0
votes
1answer
165 views

How can I manually pick the data out of the image of a plot?

edit: The automatic way listed here doesn't work for an application like mine in which there are several curves on the same plot that all have the same markers, but you only want one curve (it will ...