Skip to main content
15 votes
Accepted

Mathematica notebook opening off the screen

Yes, I have encountered this problem very often. For me, the reason is that I have 2 screens on my desktop pc and when I save a notebook which is on the second screen and open this notebook later, e.g....
halirutan's user avatar
  • 113k
10 votes
Accepted

How to make scrollable TogglerBar?

Wrap TogglerBar with Pane and use desired settings for ImageSize and ...
kglr's user avatar
  • 398k
8 votes
Accepted

Dialog box that "times out" if the user doesn't respond

I'm honestly not entirely satisfied with this answer, but it should get you on the right track: ...
Sjoerd Smit's user avatar
  • 23.8k
8 votes
Accepted

The very bottom of CellMargins is missing

There is a straightforward way to set CellMargins to be zero: ...
Alexey Popkov's user avatar
8 votes
Accepted

How to refuse close Dialog when press Esc Key

You can overwrite specific NotebookEventActions which are responsible for that: ...
Kuba's user avatar
  • 137k
7 votes

Simple Choice-Dialog like the auto-completion popup

Edit Once again b3m2a1 provided more detailed information about a FE's feature so I have to retract my claim that it is not worth an effort to create a popup on cursor position as opposed to e.g. in ...
Kuba's user avatar
  • 137k
7 votes
Accepted

Inconsistent Authorization Dialog (401) handling

It seems that some functions are not initialized correctly and options are not passed around as they should. Mentioning URLFetch, which is probably used internally, ...
Kuba's user avatar
  • 137k
6 votes
Accepted

Better alternatives for GUIkit or dialogboxes?

I can understand you might be more comfortable with GUIKit if you have done GUI development with other GUI frameworks. But in Version 6, the Mathematica front-end became a programable GUI with the ...
m_goldberg's user avatar
  • 108k
6 votes

The very bottom of CellMargins is missing

I gave up looking for neat solution. Here's brute force. Since the bottom CellMargins are not respected then let's not use any! :) We can use Pane and its ...
Kuba's user avatar
  • 137k
6 votes
Accepted

A question about ChoiceDialog

From UX perspective, I strongly suggest using a drop-down menu with PopupMenu instead. The code below works the same as ...
Domen's user avatar
  • 27.3k
5 votes
Accepted

Problem With Dynamic[] in Graphics

When you do your AppendTo commands, you want to append the current value of function@points and points. You are appending a Dynamic expression, and when that gets returned, you have a Dynamic ...
lericr's user avatar
  • 30.2k
5 votes
Accepted

How to select only particular values from the list using dialog windows?

You can use TogglerBar. ...
Domen's user avatar
  • 27.3k
4 votes
Accepted

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

As you mentioned,*EventActions are called before any lower-level stuff, so yes this means you could write your own window-close dialog, but there's another way, ...
b3m2a1's user avatar
  • 46.9k
4 votes
Accepted

How do I run DialogInput and SystemDialogInput by keyboard shortcut?

You can't run Kernel Blocking Dialogs on the preemptive link. But you can prompt other dialogs. And we can abuse that to run a procedure containing Input[], ...
Kuba's user avatar
  • 137k
4 votes
Accepted

Notebooks created after prompting a Modal dialog

A support case with the identification [CASE:3620463] was created. And a reply: [...] I have forwarded an incident report to our developers with the information you provided.
4 votes
Accepted

'Contingent' user interface (DialogNotebook with PopupMenus that depend on previous PopupMenus)

You can use DynamicWrapper or the second argument of Dynamic to take an action after something is done. Additionaly let me ...
Kuba's user avatar
  • 137k
4 votes
Accepted

Dialog notebook with multiple popup menus

I suppose the it is expected and it happens because after prompting a DialogNotebook the evaluation of Module is finished and a ...
Kuba's user avatar
  • 137k
4 votes
Accepted

Authentication dialog for URLDownload / URLSave

Before it is fixed one can use this quick workaround based on How to get StatusCode without fetching Body/Content in the background: ...
Kuba's user avatar
  • 137k
4 votes
Accepted

Using tab in a dialog box

Within a single cell, the default behavior of Tab is to move between InputField objects. This means you want your CreateDialog ...
Carl Woll's user avatar
  • 131k
4 votes
Accepted

Why can't I execute other commands while the dialog is running?

It is a bug related to WindowFloating->True on Windows. I reported it recently. Use WindowFloating->False or drop it and ...
Kuba's user avatar
  • 137k
3 votes
Accepted

Problem with DialogInput and store variable

This is how I'd do it: ...
Kuba's user avatar
  • 137k
3 votes
Accepted

Error about CreateDialog

In your example the ConstantArray[0, nm] is evaluated immediately after the creation of the dialog window, i.e. before you enter any input. What you need to do is ...
Mike Honeychurch's user avatar
3 votes
Accepted

Scrollbar in DialogInput

This is the closest I can get to what I think you want. In Mathematica, the way to add a scrollbar to a GUI element such as a window is to use Pane which allows ...
m_goldberg's user avatar
  • 108k
3 votes

The very bottom of CellMargins is missing

It really expects that you have some buttons along the bottom. DialogInput[Column[{Pane @ RandomImage[], Button["OK", DialogReturn[0]]}]] but you can do ...
m_goldberg's user avatar
  • 108k
3 votes
Accepted

How to create a window which will close in a certain amount of time?

This is what I understood OP needs: ...
Kuba's user avatar
  • 137k
3 votes

How to use an event handler inside of a Dialog Notebook

What if you did something like this: ...
ktm's user avatar
  • 4,242
3 votes
Accepted

How to omit the authentification dialog during URLRead?

V11 update For new functions it is enough to use documented Interactive option: ...
Kuba's user avatar
  • 137k
3 votes

Unable to add window title in SystemDialogInput

With V11.3 on macOS 10.13, you can't set the window title with SystemDialogOutput. I reported this problem to Wolfram tech support in May of last year and received ...
m_goldberg's user avatar
  • 108k
3 votes

Mathematica notebook opening off the screen

In Windows, it is simpler to right-click the Mathematica icon on the taskbar, select the notebook, which is still off-screen, then hit Win-LeftArrow (or similar combinations) which will dock the ...
John Jowett's user avatar
3 votes
Accepted

Loading Animation in Manipulate

I tend to use DynamicModule instead of Manipulate Also, just for fun, I decided to overkill this problem to demonstrate how ...
b3m2a1's user avatar
  • 46.9k

Only top scored, non community-wiki answers of a minimum length are eligible