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

learn more… | top users | synonyms

2
votes
1answer
52 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
37 views

Using SystemDialogInput in a Manipulate expression

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

The very bottom of CellMargins is missing

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

How do I run DialogInput and SystemDialogInput by keyboard shortcut?

I have tried modifying KeyEventTranslations.tr with code: ...
0
votes
0answers
19 views

dialog window with input inside a dialog window with input

I try to make a dialog window where one can enter some values with a button that opens another dialog window where one can add even more input. My code so far looks like this: ...
0
votes
1answer
27 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 ...
4
votes
1answer
62 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
52 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
72 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.
0
votes
1answer
34 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
79 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
43 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
28 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
46 views

How to evaluate following inputs only after finishing CreateDialog

I have a code which starts with the following Cell: ...
5
votes
0answers
46 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
272 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 ...
-1
votes
1answer
113 views

Running a function with manipulators in a popup window [closed]

I have a function, pasted at the bottom, which I would like to encapsulate into a function that can be called, and the program would then run in a popup window, return the values energy, peaklocation ...
2
votes
1answer
35 views

Rotate 3D Plot in CreateDialog

I'm attempting to use CreateDialog to demonstrate a 3D Plot to users who are not Mathematica-ly inclined. Unfortunately, when I try to do so, using something like this piece of code: ...
6
votes
2answers
287 views

Import data from excel and store it permanently in notebook

I am trying to write the code for doing the following: by clicking a button, import specific data from an Excel file which I select through a dialog window; input a name for the imported data set ...
2
votes
1answer
46 views

Dialog-type notebook

I have the following dialog to calculate the product of a and b: ...
8
votes
1answer
167 views

What really makes a Dialog expresion behave as a modal dialog?

CreateDialog[DefaultButton[], Modal -> True] creates a modal Dialog, one which needs to be closed before the front-end ...
0
votes
1answer
115 views

How to make a small window for a variable

During the development of my code I need to change a variable repeatedly to see what the resulting effect is and find out that the code works as expected. However, it is hard to scroll down and up to ...
1
vote
1answer
40 views

Graphics3D loses interactivity in Dialog window

Is there a way to keep Graphics3D objects manipulable when they are embedded in a Dialog window (CreateDialog,...
1
vote
1answer
79 views

Aborting from a Dialog box

I'm trying to abort a While cycle, with a dialog box. I've tried the following: ...
0
votes
1answer
146 views

Front-end: How can one programmatically extract window titles?

I would like to programmatically get the titles that appear at the top of notebook windows, particularly for notebooks that have not yet been saved (if they have been saved, I can get the information ...
5
votes
0answers
137 views

Simple Choice-Dialog like the auto-completion popup

What I want is pretty simple, nevertheless, after half an hour I have only unsatisfying solutions here. Let me ask you who might work more often with Mathematica's GUI elements: Is there a way to ...
1
vote
0answers
41 views

Operating one dialog from inside another

Nested Dialogs Experiment The InsideDialog works as expected when invoked from the command line. When started as a button action inside OuterDialog, it takes a very long time to start up (many ...
4
votes
2answers
268 views

After executing MessageDialog[] how can I wait for it to close before continuing

After executing MessageDialog[] how can I wait for it to close before continuing? I want to popup up a message and wait for the user to hit OK before continuing. Is there a mechanism for this?
1
vote
0answers
90 views

Problems with manipulating plot in a dialog

G'day, guys. Here is a silly problem I am struggling with. ...
3
votes
1answer
198 views

How to use ChoiceDialog or PopupMenu with ClickPane

What I am trying to do is modify the standard ClickPane example where a list of points (pts) is added to with each click, in the ...
2
votes
2answers
229 views

Why doesn't the FileNameSetter button work in my DialogInput?

I am new to Mathematica, so it's probably a small error but I can't figure it out. Here is the code : ...
3
votes
0answers
88 views

Duplex Printing from button inside DialogNotebook on Mac

All, I have the following code which generates a window containing the variable PrintOut and a Print button. When the print button is pressed the contents of the window are sent to the printer and ...
7
votes
1answer
253 views

How can I remove the bottom bar from Mathematica?

There is a bar with a zoom button on it, and it takes too much room. How can I disable it? Appreciate any help! Thank you!
4
votes
1answer
348 views

How can I create input fields based on the user's choice from a popup menu?

I'm trying to create an interface with Mathematica. However, I need some instructions concerning the code below. This is about 10% of what I have in mind, but first I need to know how can I create ...
3
votes
3answers
254 views

Why does my code work one way in Mathematica and another way in PlayerPro?

I wrote the following simple code and deployed it as a CDF. Button["Ok", (SystemDialogInput["FileSave", ".PDF"])] If I ...
4
votes
1answer
84 views

Skip the revert dialog

When saving a file and making changes to it one can revert using File->Revert in the menu or by entering ...
6
votes
1answer
305 views

Dialog inside Dynamic Module [duplicate]

The following doesn't appear to work: DynamicModule[{}, Button["Press Me", ChoiceDialog["OK or Cancel?"]]] When I press the button labelled "Press Me", a dialog ...
2
votes
1answer
324 views

Restrict SystemDialogInput to open certain file types

The documentation for SystemDialogInput shows how to restrict the types of files shown. SystemDialogInput["FileOpen",".nb"] ...
2
votes
1answer
137 views

How can I shift from one window to another window?

I am building a cdf application,which has multiple screens,every screen was linked to another screen. Right now I am using CreateDialog. Are there any other ...
3
votes
1answer
349 views

Can I create a dynamic number of rows in TabView through an iteration?

I have written code, with the help of stackoverflow of course, and I want to make it user friendly so that other people in my lab can use it. I'm playing with DialogCreate and similar functions. I ...
1
vote
2answers
424 views

How to print a message dialog window

I'm trying to figure out how to print a message dialog without printing the whole notebook. FrontEndExecute[FrontEndToken["PrintDialog"]] displays the print window ...
1
vote
1answer
178 views

Why are some Buttons not working in CDFPlayer?

I have two Buttons within a single panel. My problem is that after deploying that panel, the second Button is not working in the ...
4
votes
1answer
444 views

How to perform DialogInput operation within Button

Can someone clarify how to perform a DialogInput operation within a Button? I wrote some code for that but it's not working. ...
7
votes
1answer
248 views

Problems with visual update in GUI

Consider the following. When clicking in "Browse" and then choosing a file, the path will remain the original one and won't change to the one of the file I chose: ...
6
votes
1answer
384 views

How to save data using FileNameSetter or similar

I would like to export data to a file using a SaveAs type dialog, using something like FileNameSetter[name,"Save"] to give a browse button. Any help with this ...
6
votes
2answers
643 views

How do I make NotebookEvaluate work inside Button?

The following creates a button to select a notebook to run. When the button is pressed it seems that Mathematica finds the notebook but cannot evaluate it. The following error occurs Could not ...
8
votes
2answers
356 views

Strange behavior of CreateDialog's WindowSize option

Compare the two dialog windows, created by the same code except in the first WindowSize has a value while I omit it in the second one. Note, that ...
13
votes
1answer
290 views

How to make an unremovable modal window?

Is there any way to securely stick a notebook window (e.g. a dialog) on screen that it cannot be closed/removed/hidden by any of the standard OS shortcuts, like AltF4 or AltTab under Windows? The ...
2
votes
2answers
418 views

Transparent background of content in a dialog window

Why dialogs created with CreateDialog cannot correctly show content with transparent background? The following example generates a plot, with white background, ...