Tagged Questions

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

learn more… | top users | synonyms

0
votes
0answers
40 views

How to combine checkboxes, manipulate and buttons in one window? [closed]

I wrote code, which get some data, count and plot several graphs based on this data. I want to make it easier to compare results of different input and also more user friendly and good looking ...
0
votes
1answer
80 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 ...
2
votes
0answers
67 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
25 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 ...
2
votes
2answers
69 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
63 views

Problems with manipulating plot in a dialog

G'day, guys. Here is a silly problem I am struggling with. ...
3
votes
1answer
114 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
154 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
77 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 ...
6
votes
1answer
179 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
232 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
227 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
80 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
206 views

Dialog inside Dynamic Module

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
247 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
120 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
276 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 ...
7
votes
2answers
452 views

How do I remove the top bar and bottom bar from the Mathematica window?

Any idea how to remove the top bar saying "Wolfram Mathematica .... Demonstrations MathWorld Studenforum Help" from the Mathematica main window (see screenshot). It has no use to me and it steals ...
1
vote
1answer
250 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 ...
4
votes
1answer
315 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. ...
6
votes
1answer
214 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
269 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
466 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
303 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 ...
12
votes
1answer
253 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
315 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, ...
6
votes
1answer
377 views

Dialog crashes Mathematica

I have some dialog windows in a GUI of which one regularly crashes the kernel. I managed to focus on this particular piece of code, though I don't really know what causes the crash: ...