Question concerning the function Control and its specialized variants, Manipulator, Slider, Locator, Trigger, InputField, etc, which were introduced in V7 for GUI building. Also, questions about the use of control specifications in Manipulate, and the use of older controls such as Button (introduce ...

learn more… | top users | synonyms

4
votes
0answers
40 views

How to set Ticks for an AngularGauge?

How do you set custom ticks on an AngularGauge. ...
1
vote
1answer
104 views

Out of range red glow on inter-dependant sliders in manipulate

In manipulate, I need to define two sliders : one basic slider, and a second one for which the end value depends on the current value selected on the first slider. How can I achieve this in ...
1
vote
2answers
57 views

How can I add a checkbox to a Manipulate expression?

I'm looking for a simple example about how to add a simple On-Off switch in a manipulate function. More specifically, I defined a curve with two parameters. One is a continuous parameter that is ...
3
votes
1answer
55 views

Custom Multi-Interval Slider

I'm trying to make a custom generalization of the Interval Slider - one with $n$ marks to describe $n-1$ intervals. This was my attempt, but it doesn't work - it just returns itself when run: ...
4
votes
1answer
114 views

How to display the controls where I want?

I would like to show the controls as in the image, but after I try ControlPlacement->Right and some combinations of Row[] and Column[], I can´t get the solution. Could you help me? ...
-1
votes
1answer
46 views

Display that replaces previous values [closed]

Is it possible to make some function like Print but one that replaces its previous result with a new value instead of producing a new one? For example, let's use ...
2
votes
1answer
56 views

Why does FileNameSetter not activate inside ActionMenu?

Why doesn't this code work? ActionMenu["select an option", {"choose a file" :> FileNameSetter[Dynamic[x]]}] Is there a way to get FileNameSetter to work ...
5
votes
1answer
59 views

Change speed of rate of unit change in Trigger function

I am trying to build an interactive model but I am facing some problems. for example: ...
2
votes
2answers
72 views

How to put Control Objects of Manipulate into Opener View

I am attempting to put a control object of Manipulate[] into an OpenerView[] which will allow me to hide and show controls. The ...
3
votes
2answers
86 views

How to make ActionMenu's menu appear with one mouseclick and disappear with a second?

How do I make ActionMenu's menu appear with one mouseclick of the button and disappear with a second consecutive click on the same button? I would like to be able to click on an ...
4
votes
1answer
77 views

How to make the size of a control object larger/smaller?

I currently have a form with a picture label, ...
1
vote
0answers
27 views

Repeat code segment from certain cell [closed]

If I have a lot of code and wish to repeat it in a different cell, but with some variables changed, how do I do it? (without copying and pasting) I tried using GoTo and Label but it did not recognize ...
6
votes
1answer
92 views

Activity indicators for slow Dynamic expressions?

With Dynamic and gui-constructs like Popup I always have a problem: when an expression takes a while to evaluate the Dynamic ...
1
vote
1answer
42 views

Holding dynamic until all options are chosen for an interactive plot

I want to control the variables (and other options) used in a plot through a number of popup menus. As the plot takes a little time to be drawn, I want to be able to make a selection on each of the ...
0
votes
2answers
56 views

Evaluating a set of expressions under button control with voice annotation [closed]

For example, let us assume that a user clicks the button named "Evaluate" and then a voice announces "Please wait your expression is being evaluated". Mathematica then carries out set of instructions ...
2
votes
1answer
113 views

How to keep Mouseover visible while control has focus/cursor?

I have a DateObject and InputField that I am using to collect an inputted date. Mouseover ...
2
votes
1answer
75 views

Use slider controls to set function domain of plotted function

I want to display Plot[f,{t, t1, t2}] in a Manipulate with the domain {t1, t2} specified by ...
2
votes
0answers
101 views

Mathematica 10.2 Manipulate function settings problem [duplicate]

I am trying Manipulate function in Mathematica 10.2. The problem is that when I move the slider the graph manipulates but when I click the + sign/expand button to ...
2
votes
1answer
47 views

ControlActive ignores SetterBar

As shown in the following example, ControlActive does not seem to respond to controls such as SetterBar. Moving the slider ...
0
votes
1answer
56 views

Specifying a PopupMenu in a Manipulate expression

In my previous question here, I had a problem with showing GeoGraphics in a CDF document, but thanks to other users, I was able to solve it. But the code I wrote to test my work gave an error. I tried ...
6
votes
2answers
109 views

RGBColor, ColorSlider and ColorSetter

A single RGBColor expression displays as a little square, showing the color. I just found that this little square is both a tooltip and a button. It seems to be new ...
3
votes
2answers
133 views

How do I make a Graphics3D Object act as a Button?

The original idea is from: http://demonstrations.wolfram.com/ClickACountry/ What I'm trying to do is to create a series of Graphics3D objects and let them control the display of corresponding ...
4
votes
1answer
70 views

Set control A to a specific value if control B is ever changed?

I've had trouble with this and issues similar to this in the past, where I need to track when a controlled variable is changed. Basically I have two Sliders (call ...
6
votes
3answers
109 views

Can I disable specific items in a PopupMenu control?

I have a PopupMenu in a Manipulate with items in it that are inapplicable in some cases, and rather than removing them, I would ...
3
votes
0answers
96 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug introduced in V9.0 or earlier and persisting through 10.3.1 or later I have a problem with images with alpha channel which I want to use as labels on Button ...
1
vote
1answer
84 views

How can I mark a point on a slider control?

I have a Slider control inside a Manipulate which spans some range of values, say from 0 to 10, like in: Manipulate[ Sin@x, {x, -2 Pi, 2 Pi} ] I would like ...
2
votes
1answer
134 views

How to use Buttons to run alternate Manipulate functions

I wish to use Buttons to trigger alternate Manipulates. According to the documentation: "The first argument to Button is the label" ....and the "second argument is the function that will ...
4
votes
2answers
109 views

Unexpected Manipulate behavior

I get unexpected results when I run the following code (even before moving the sliders): ...
1
vote
0answers
31 views

Getting explicit BaseStyle or DefaultBaseStyle settings

Is there a way of making more similar the appearance of TogglerBar and Toggler controls that can sometimes appear quite ...
1
vote
1answer
52 views

How do you programmatically update a tag using the TaggingRules mechanism?

Consider the following simple front-end code: ...
3
votes
2answers
101 views

Is it possible to return a list of variable values set by Manipulate?

Is it possible to write a function that returns a set of values that are set by Manipulate? For example, a function that returns a dataset of variables modified by ...
1
vote
2answers
145 views

Manipulate with multiple locators [closed]

How can I work with tables/lists of Locators under manipulate? Note this is very similar to this question: http://mathematica.stackexchange.com/a/51956/2079 The ...
4
votes
1answer
83 views

Automatically assign Variablenames to multiple checkboxes

I want to implement the option to import data from Excel and then the ability to trim this data in order to fit the needs. The import from Excel: (source) ...
2
votes
1answer
43 views

Dialog-type notebook

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

How do I get the bounds of my Slider to correspond to the current length of a string entered in another control?

I have a text entry control in a Manipulate that I index into the value of using the value of a Slider control. This works as ...
1
vote
1answer
33 views

When using PopupMenu other controls stop working

I have an interactive plot in a Manipulate expression with a PopupMenu. I want to be able to select the function being plotted ...
3
votes
1answer
135 views

How can I get “custom” controls to appear and behave like “default” controls in my Manipulate?

For various reasons I need to define some controls in my Manipulate with complex behaviors that are not (or at least I don't think can be) accomplished using the ...
5
votes
2answers
150 views

Button that starts an evaluation which is monitored with a progress indicator

I have a DynamicModule in which I which I wish to start an operation (actually import files) with a button. I would like to monitor the progress with a ...
2
votes
1answer
161 views

How do I dynamically construct a string from a variable number of 'PopupMenu's in 'Manipulate'?

I have a string with a variable length, determined by the value of a SetterBar and whose characters are determined by a corresponding number of ...
0
votes
1answer
53 views

Fine precision control in IntervalSlider

I would like to develop a simple slider for exploring a wide range of intervals on the real line. Is it possible to get the MinimalSize of IntervalSlider to work ...
3
votes
1answer
145 views

Animated moving dot

This question came about because of my failure to implement an answer to this previous question. My idea was that an answer could be written using aClickPane and ...
4
votes
1answer
90 views

Strange appearance artefact in ActionMenu

I've noticed a strange thing with ActionMenu which can also be seen in the documentation for V9 and V10 on OS X. It seems that when an ...
4
votes
3answers
284 views

Manipulate: How to create custom reset Button automatically?

I have a complex Manipulate with more than 10 controls. Each one has its own default value. I'd like to add a custom button in the control area to reset all ...
1
vote
1answer
84 views

TogglerBar with arbitrary dimensions

I'd like to split my TogglerBar into several rows, with it's length given in a list. I found the Appearance options, but they ...
2
votes
1answer
56 views

K linked controls within Manipulate

This question is related to "Locking a value when Manipulating variables" and several other questions on linked controls, but differs enough that new ideas and techniques are required, I believe. I ...
0
votes
1answer
72 views

How to make `Manipulate[]` slider longer but not losing buttons?

In this question the solution to make Manipulate's slider longer is to use ControlType->Slider with ...
4
votes
1answer
133 views

Wrap custom control inside Manipulate or DynamicModule

[Apologies if this is a duplicate: I have looked at quite a few related questions but have not seen this issue dealt with] I have built a custom control, using the following method: ...
5
votes
2answers
91 views

Using gamepad without dynamic

I am a novice using Mathematica. I program regularly using c like languages though. Now i work on a simulation of a vehicle. I have a loop that calculates the next state of the physical model every dt ...
1
vote
2answers
161 views

What is the correct syntax for using a radio button to set values to be used elsewhere? (restated)

Here is my question, restated - I want to be able to choose the values for a complicated function from a set of alternatives values that I have gathered. The function requires several input values, ...
5
votes
2answers
281 views

What is the font of these control labels?

What is the font of these control labels? I've gone through every font Mathematica offers (through the format GUI) and don't see a match. Haven't had any luck with default format files either. I'm ...