Tagged Questions
4
votes
2answers
189 views
How can I change a Slider's appearance?
I am using Mathematica 9.0 and Windows 7. I want to create a Slider that looks like the following:
I tried the following:
...
3
votes
1answer
113 views
How to force Pane to always scroll to end of content? [duplicate]
Mathematica seems to know about the actual end of content position in a Pane if given large enough (but not too large$^1$) initial position value. Here, the ...
4
votes
1answer
166 views
Interactively select a row/column of a Grid
I need a simple way to display tabular data (preferably with Grid) and also be able to select a row or column of the table. I've tried different approaches, but I ...
6
votes
2answers
155 views
How to efficiently get the value from form UI built with dynamic InputField
Here is the code that I used to make a tabular UI.
...
4
votes
2answers
109 views
How to execute a function each time the slider is dragged?
I've created a function f and a slider:
Slider[Dynamic[y],{1,4}]
How to execute/call f ...
1
vote
1answer
89 views
How to control dependent PopupMenus?
I created three interdependent PopupMenus with names demographic, region and ...
4
votes
3answers
165 views
How can I create a custom control which evaluates to a list of values or replacements?
I have a set of variables which are used in various places in my calculations (solving a system, initial conditions, etc.). In order to make this easier to deal with, I want to make a control-like ...
2
votes
2answers
98 views
How to display only a certain part of the content in a Panel?
I have a Panel of size {850, 400} as myPanel with a Pane of size {450, 400} and four images ...
4
votes
1answer
194 views
Emulating a button push or a mouse click with Mathematica code
I need to perform a long action with a button. I tried setting the DynamicEvaluationTimeout, but it seems it doesn't work for me. So I want to try using several ...
0
votes
2answers
490 views
Basic Dynamic Interface Programming that returns variables to nb functions
I have a dynamic module that contains some basic PopupMenu's and Buttons but also need to use the variables returned from these buttons and PopupMenu's in my nb functions outside of this ...
17
votes
1answer
343 views
How can I effectively performance-profile Dynamics?
How to optimize performance-wise a complex dynamic expression (like a GUI) with lots of dynamically updated components, which require different update-frequencies?
I was hesitant to ask this question ...
4
votes
2answers
190 views
How can one popup menu be used to add another?
I'm trying to construct a GUI that changes depending on what's chosen in certain popup menu's. For example: The default state of the menu is condition one, but when the first PopupMenu is selected ...
7
votes
1answer
180 views
How to create a multi-selectable setterbar with colored buttons
Background: consider the following code-snippet.
...
8
votes
1answer
74 views
How can I defer the loading of a PopupView control until it is used?
Background: I have several PopupViews of which the loadtime adds to the startup time of a program. To improve the perceived performance I want to defer the loading ...
48
votes
2answers
2k views
How to manipulate 2D plots?
When it comes to visual analysis, large datasets or data with intricate internal details often makes plotting in 2D useless, as the outcome is either just a fraction of the full dataset, or no details ...
7
votes
2answers
160 views
Moving controls from Manipulate to a Palette ( or similar GUI object )
Consider the following snippet as a reference.
...
10
votes
3answers
195 views
In InputField, how to prevent Shift-Return from generating a new cell?
When running the following in a notebook (not a deployed CDF file), it can sometimes be annoying that accidentally pressing Shift-Return breaks out of the user ...
9
votes
1answer
172 views
How to create a notebook element that can replace itself?
I would like to create a notebook element that can replace itself.
Here's an example to illustrate:
...
8
votes
2answers
226 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 ...
21
votes
4answers
598 views
Question about collections of custom GUI controls for Mathematica
Background: I have only recently begun programming GUIs in Mathematica, so I have a continuous need for custom controls. I needed a scrollable list control and with the help of Google I found a ...
6
votes
1answer
407 views
How to make a dynamic stopwatch?
For some experiments I need some basic timer function. I tried various methods, and neither of them are fully satisfactory. What I need is a button, that starts/stops a timer, resets timer with each ...
6
votes
2answers
237 views
Detecting double click events
Is there a way to detect double click events? I did not find anything on the doc page of EventHandler.
Use case: I want to re-implement the ...
16
votes
3answers
721 views
Generating graphs interactively (GUI)
I want to create graphs interactively using a GUI. I thought of using a ClickPane[] environment. The code I have (in part borrowed from the Documentation) works ...
