Questions tagged [dialog-window]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

CreateDialog, which button pushed?

I've got a dialog box: CreateDialog[{"foo", InputField[], Grid[{{DefaultButton[], CancelButton[]}}]}] Is there any way to see if the Cancel button was ...
user avatar
0 votes
0 answers
25 views

UI from CreateDialog question

I'm trying to create a dialog box, from which a user can input one or more responses. Here's my code: ...
user avatar
2 votes
1 answer
32 views

CreateDialog[] doesn't return its local variable

Just trying to build a dialog window for picking items from the list. However it doesn't work as expected. Here is the simplified example ...
user avatar
1 vote
0 answers
34 views

Clear variables on window close

I'm using DynamicModule[{ var1, var2 }, CreateDialog[ (*some code here*) ]] In order to be able to deal with memory isolation for multiple copies of a program ...
user avatar
  • 53
2 votes
0 answers
32 views

How to abort evaluation when clicking CancelButton in program with Dialog boxes?

If you run the following code you will notice when Cancelbutton is clicked, the output is an $Abort, but it continues running the following cells, I tried different things but no one works. I want to ...
user avatar
1 vote
0 answers
55 views

Replace Mathematica icon in window title bar by an own icon

I like to run a mathematica program in a customized window, so I would like to have my own icon left to the window title of my notebook window instead of the system icon. i.e.: ...
user avatar
  • 11
2 votes
1 answer
53 views

Warning window with timer

I'm deploying a package to consumers to test out that isn't complete and ready to use yet, just so they can give me feedback on usability and do feature requests. While doing so I want it to be clear ...
user avatar
  • 69
1 vote
1 answer
74 views

How to use CreateDialog in .wls file

I have following code, which can run in notebook. ...
user avatar
  • 6,457
1 vote
1 answer
43 views

Association auto-populating with ChoiceDialog

While trying to use the ChoiceDialog function to populate an association, I have run into an interesting issue... ...
user avatar
  • 539
4 votes
0 answers
82 views

Hide the Wolfram Cloud Activity window

I'm new to Mathematica. I use Wolfram Cloud to save my notebooks and I've enabled autosave. So, whenever I press Shift+Enter (after saving once), the notebook gets saved on the cloud. The problem is ...
user avatar
1 vote
0 answers
66 views

Can one force dialogs to use the textual from when using the front end?

The documentation for ChoiceDialog states that If Mathematica is run without a notebook front end, ChoiceDialog gives choices in a textual form. Indeed, one ...
user avatar
  • 3,302
3 votes
1 answer
167 views

Loading Animation in Manipulate

I'm using Manipulate together with CreateDialog to run a ListPlot whenever I click on a ...
user avatar
  • 4,138
5 votes
0 answers
77 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 ...
user avatar
  • 1,001
1 vote
0 answers
26 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 ...
user avatar
  • 11
15 votes
2 answers
1k 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 ...
user avatar
  • 183
0 votes
1 answer
103 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 ...
user avatar
  • 8,075
0 votes
0 answers
53 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 ...
user avatar
  • 8,075
2 votes
1 answer
47 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 ...
user avatar
  • 1,339
1 vote
1 answer
39 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 ...
user avatar
  • 539
2 votes
1 answer
68 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 ...
user avatar
  • 8,075
0 votes
1 answer
37 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 ...
user avatar
  • 951
1 vote
0 answers
31 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: ...
user avatar
  • 11
1 vote
1 answer
66 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: ...
user avatar
  • 65.7k
0 votes
0 answers
59 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 ...
user avatar
10 votes
1 answer
160 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 ...
user avatar
  • 1,375
0 votes
0 answers
20 views

DialogReturn evaluated too soon [duplicate]

Why does this module return 11 (as expected) when 'Accept' is clicked: ...
user avatar
1 vote
1 answer
111 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 ...
user avatar
  • 967
3 votes
1 answer
200 views

Scrollbar in DialogInput

Writing: ...
user avatar
  • 4,281
3 votes
2 answers
112 views

Automatically extend ChoiceDialog

Writing: ChoiceDialog["I dati sui nodi sono già stati inseriti?", {sì -> 0, no -> 1}, Magnification -> 1.5] I get: while ...
user avatar
  • 4,281
0 votes
1 answer
60 views

Error with Subscript in DialogInput

Writing: ...
user avatar
  • 4,281
1 vote
1 answer
81 views

Problem with DialogInput and store variable

Writing: ...
user avatar
  • 4,281
0 votes
0 answers
31 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 ...
user avatar
  • 161
2 votes
1 answer
79 views

Error about CreateDialog

Writing: ...
user avatar
  • 4,281
0 votes
0 answers
209 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 ...
user avatar
  • 4,281
0 votes
0 answers
41 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 "...
user avatar
1 vote
0 answers
165 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 ...
user avatar
0 votes
1 answer
284 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 ...
user avatar
3 votes
1 answer
220 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 ...
user avatar
1 vote
1 answer
96 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 ...
user avatar
1 vote
1 answer
95 views

DateTime Input Dialog in Mathematica

I am trying to create a DateTime input dialog that will return a DateTimeObject ...
user avatar
  • 921
9 votes
1 answer
239 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] instead ...
user avatar
  • 132k
4 votes
1 answer
155 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 ...
user avatar
0 votes
0 answers
74 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....
user avatar
  • 23k
9 votes
0 answers
125 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 ...
user avatar
  • 23k
8 votes
1 answer
169 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 ...
user avatar
  • 132k
0 votes
0 answers
172 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 -> ...
user avatar
  • 859
3 votes
0 answers
97 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 this ...
user avatar
  • 132k
3 votes
1 answer
222 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 ...
user avatar
  • 23k
6 votes
3 answers
176 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: ...
user avatar
  • 9,158
6 votes
1 answer
211 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 ...
user avatar
  • 85