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
1answer
110 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: ...
3
votes
1answer
112 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 ...
2
votes
1answer
98 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 ...
6
votes
3answers
86 views

Can I disable specific items in a PopuMenu 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 ...
2
votes
1answer
63 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
87 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
38 views

ControlActive ignores SetterBar

As shown in the following example, ControlActive does not seem to respond to controls such as SetterBar. Moving the slider ...
6
votes
1answer
222 views
0
votes
1answer
38 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
90 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
114 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
58 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 ...
3
votes
0answers
72 views

Transparent bitmaps in controllers. Problem with initial appearance

Bug reproduced in V10.1 on Win7 I have a problem with images with alpha channel which I want to use as labels on Button etc. Unless I scroll or move cursor over ...
2
votes
1answer
58 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
74 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 ...
3
votes
2answers
105 views

Unexpected Manipulate behavior

I get unexpected results when I run the following code (even before moving the sliders): ...
1
vote
0answers
19 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
3
votes
2answers
88 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
105 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
76 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
38 views

Dialog-type notebook

I have the following dialog to calculate the product of a and b: ...
0
votes
1answer
42 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
29 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 ...
2
votes
1answer
136 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 ...
4
votes
2answers
103 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
149 views

Variable number of controls in manipulate

i want to add a variable amount of variables to manipulate, but i got stuck at one point and can't figure out a solution (even after reading here for hours...). I have a function (e.g. here a ...
0
votes
1answer
42 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
122 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
85 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
253 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 ...
5
votes
2answers
270 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 ...
1
vote
1answer
64 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
51 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
63 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 ...
5
votes
2answers
89 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 ...
6
votes
3answers
760 views

How can I completely remove the ListAnimate controls?

I want to use ListAnimate to show an animation but I want to remove the slider and all of the buttons from the top and show the animation panel only. There is an ...
1
vote
2answers
113 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, ...
14
votes
3answers
406 views

How to manipulate a circle in GeoGebra style?

I want to emulate the GeoGebra app. I want to get an effect like this in Mathematica. I don't know how to move whole circle without changing the radius of the circle. My sample code: ...
1
vote
0answers
107 views

Building Reusable Custom Controls?

I would like to build an application using Mathematica 10. I would very much like to structure the application for maximum maintainability. To this end I would like to segregate controls and user ...
1
vote
2answers
95 views

Slider with varying scales

I am trying to implement a slider whose control range varies depending on the current value: ...
1
vote
3answers
140 views

Collapsible Group of Control Objects

I did what I believe was a thorough search on this topic, but still ended up fruitless. Apologies if there is a trivial solution to this. Is there a way to group control objects together to form ...
0
votes
0answers
50 views

Hide your controls inside Manipulate [duplicate]

I didn't find any topic that could help me; I hope this isn't repeated. I just want to show a control if a specific option is selected inside a popupmenu: ...
1
vote
1answer
146 views

How to use Button as a control in Manipulate

I am trying to use Button as a controller in Manipulate. I have done some thing like this: ...
13
votes
1answer
396 views

How to create interrelated sliders?

Say I want a slider that controls the value of $x$ and another slider that controls the value of $2x$, how would I go about it?
3
votes
2answers
143 views

how can I make a control for my vector equation in my simulation?

I'm trying to build a control selector or menu for equations to put into my curvature simulations. However all the code I've tried hasn't worked.Does anyone know how I could make a control selector or ...
2
votes
1answer
245 views

Aligning controls and their labels to grid?

I have a Manipulate with 6 sliders controlling 6 different variables. I have labelled them all. The problem is that the labels have different lengths, so it looks a ...
2
votes
2answers
191 views

How can I style a TabView?

I have been trying to style a TabView like in the examples on the Wolfram CDF site, where they have custom sizes and backgrounds with images or gradients, but I am ...
0
votes
1answer
84 views

Make several separate Manipulate controls on a single line?

How do I make several different Manipulate controls appear on a single line? I currently have both a Slider and an ...
0
votes
2answers
132 views

Setting CheckboxBar defaults under Manipulate

How is the default for the checkboxes created by CheckboxBar in a Manipulate set to be checked instead of unchecked? (The ...