Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dialog-window]

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

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
24 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
31 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
89 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
35 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
75 views

Scrollbar in DialogInput

Writing: ...
3
votes
2answers
78 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
36 views
1
vote
1answer
60 views
0
votes
0answers
26 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
49 views

Error about CreateDialog

Writing: ...
0
votes
0answers
110 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
37 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
79 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
76 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
149 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
57 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
52 views

DateTime Input Dialog in Mathematica

I am trying to create a DateTime input dialog that will return a DateTimeObject ...
8
votes
1answer
183 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
107 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
59 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
117 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
121 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
84 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
175 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
129 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
136 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
42 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
124 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
119 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
69 views

Using SystemDialogInput in a Manipulate expression

I want to add the select directory function in a user interface such as: ...
2
votes
0answers
89 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
178 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 ...
1
vote
1answer
171 views

How do I run DialogInput and SystemDialogInput by keyboard shortcut?

I have tried modifying KeyEventTranslations.tr with code: ...
0
votes
1answer
59 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
183 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
265 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
88 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
163 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
163 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 ...
1
vote
1answer
68 views

Using a prompt to set options

I am creating a toolbar. One of the buttons on my toolbar is this setcounter button below. ...
0
votes
0answers
146 views

Overwriting a file with export[SystemDialogInput[]]

When I use the following code: Export[SystemDialogInput["FileSave", "myP1P3bmp.png"],Image[myBitMap, "Bit"], "PNG"]; I get a somewhat unexpected behavior. I can ...
5
votes
1answer
216 views

How to evaluate following inputs only after finishing CreateDialog

I have a code which starts with the following Cell: ...
5
votes
1answer
113 views

Triggering events based on choices made inside of system dialogs (e.g. window close)

I'm trying to arrange for Mathematica to perform a certain action every time a notebook is saved or closed (with or without saving). The obvious way to do this would be through event handling. So, ...
6
votes
4answers
332 views

Object isn't fully displayed in DialogInput

Update: Here's a simper example to reproduce the issue: DialogInput[Table[InputField[], {50}], WindowSize -> All] On my 1366×768 screen only no more than 17 <...