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

13
votes
1answer
388 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?
13
votes
3answers
381 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: ...
12
votes
1answer
328 views

Using a MacBook's builtin sudden motion sensor with Manipulate

With the following code I can get the value of the "Sudden Motion Sensor", which is build into MacBooks: ...
10
votes
2answers
230 views

Can one affect the appearance of components of a control?

I'd like to control the appearance of the components of a TabView[] control. Such a control appears constructed of Buttons, ...
10
votes
2answers
243 views

Difference between action of a Slider and a HorizontalGauge

First time posting. I am working on creating some interactive materials for the engineering classes that I teach and have run into an issue that I cannot puzzle out. I am using a slider to allow for a ...
9
votes
2answers
123 views

How to force native styling of controls?

While preparing a dynamic module, I discovered a weird behaviour of Mathematica's controls when you rotate them: ...
8
votes
3answers
236 views

How to allow ContinuousAction on something that is not all

I have this code: DynamicModule[{r = 1}, Grid[{{Slider[Dynamic[r]], SpanFromLeft}, {f[Dynamic[r]], g[Dynamic[r]]}}]] While I move the slider, $f$ ang $g$ are ...
8
votes
5answers
661 views

How to save Manipulate bookmarks permanently?

I would like to save current Manipulate parameter values to load them again later. Bookmarks (previously discussed here and here) work fine until the cell is ...
7
votes
2answers
336 views

How to set the slider width inside Manipulate

I use the code below to visualise the connection between a sine curve and the unit circle, but would like to make the slider wider, so it has at least almost the same with as the image. I have tried ...
7
votes
1answer
221 views

Can I select or implement a Manipulate bookmark from an arbitrary control?

I understand how I can select a bookmark from the "+" menu of a Manipulate. Is there a way to select a bookmark from an arbitrary control, or define a control that ...
6
votes
3answers
727 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 ...
6
votes
2answers
226 views

What are Controlling and Computing Processes?

My wolfram user portal claims that I have 2 controlling processes and 8 computing processes. Mousing over the question mark gives me some information, but I still don't fully understand what this ...
6
votes
1answer
665 views

Placing Manipulate controls in multiple columns

I have a Manipulate construct with a square Graphic on the left side and all the controls placed on the right side. There are so ...
6
votes
2answers
324 views

How do I Export through a standard system file save dialog activated by a Button?

As near as I can tell, Export cannot be configured through arguments or options, to present a standard system file save dialog to the user, so that he can specify a ...
6
votes
1answer
422 views

How do I constrain the region where I can drag a Locator?

How do I constrain the region where I can drag a Locator to conform to rules, including rules that apply to computations resulting from the value of the ...
6
votes
1answer
513 views

Enabled option for slider in Manipulate not updating dynamically

In a Manipulate expression I have a slider control which has the Enabled option ...
6
votes
1answer
186 views

Estimate Imagesize of any given Particular Control object?

I make different controls(InputFields,Text,panel, etc) in my code for which the corresponding code is below. ...
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 ...
5
votes
1answer
291 views

“Masking” an InputField

In building an assignment for my class, I would like set up an InputField, where they will enter a function. I was wondering if there was a way to "continuously" check if their function is being ...
5
votes
2answers
88 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 ...
5
votes
1answer
357 views

Altering layout and sizing of Manipulate controls?

I'm currently working on a display project using Manipulate and was wondering if there is a straightforward way to alter the placement of the control options that I ...
4
votes
4answers
196 views

How can I make controls have Button-like behaviour?

The Button control is very easy to understand Button["Press Me", Print["Pressed"]] I press the button, I execute the ...
4
votes
3answers
223 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 ...
4
votes
3answers
291 views

Creating Multi-Tabbed Grid with Preserved Contents and Overview Grid

I am in the process of creating an application/panel that will aide me in scheduling hours for my staff of ten or more. I am hoping to create a multi-tabbed grid within which I may collect data about ...
4
votes
2answers
93 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 ...
4
votes
2answers
194 views

Manipulate Controller - Simplex

Imagine you have three numbers a, b and c, and using ...
4
votes
1answer
84 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
2answers
125 views

Anchor Manipulate Controls to Edges of Content

I'm running into an issue with arranging Manipulate controls and a dynamic module around the content pane of the Manipulate. For example: ...
4
votes
1answer
73 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) ...
4
votes
1answer
77 views

Control Object Annoyance

This may seem like is a trivial annoyance, but it really is a control object "convenience of use" issue. Example: I want to use a popup menu to determine which Excel worksheet I take data from, as ...
3
votes
2answers
101 views

Unexpected Manipulate behavior

I get unexpected results when I run the following code (even before moving the sliders): ...
3
votes
3answers
441 views

Making a multiple choice button

I've written the following code to create a multiple choice button that takes an arbitrary number of answer options and will assign a variable true/false depending on whether or not the correct choice ...
3
votes
2answers
210 views

How can I align the labels of the buttons on a setter bar to the button centers?

I tried to align the labels on the buttons of a SetterBarto the button centers. This is my code: ...
3
votes
2answers
340 views

How to make slider in/visible in Manipulate?

I need your help with making a slider invisible and visible in a Manipulate. Here is my code: ...
3
votes
1answer
191 views

Switch inside Manipulate controls statement

I am using this code inside of a Manipulate: ...
3
votes
1answer
102 views

Alternate controls in manipulate

Is there a way to have two controls that govern a single variable in a Manipulate? Specifically, I am using a Locator to select an {x,y} coordinate, but I would also like the user to be able to ...
3
votes
2answers
139 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 ...
3
votes
1answer
221 views

Manipulate Slider over discrete collection. Keyboard control.

I would like to create a Manipulate slider that iterates over a discrete set of items. Something like the following ...
3
votes
2answers
55 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 ...
3
votes
1answer
116 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 ...
3
votes
1answer
254 views

How to link a button to a manipulate play

I am wondering how I can link a button to the play button shown if you expand "Show Animation Control", So something like, ...
3
votes
2answers
81 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 ...
2
votes
2answers
181 views

How can I create a table of sliders?

I'm trying to do the following: I have a table: w = Table[ToExpression[ToString[h] <> ToString[i]], {i, 1, Length[c]}] This table is suposed to generate ...
2
votes
2answers
105 views

Placing some controls above and some below plot

The code below is something I wrote quickly to simulate the problem I'm having with more complex code. I use Row (or Grid) to get the first 2 manipulate variables (a and b) on one line above the plot ...
2
votes
2answers
96 views

ControlsRendering and operating systems

Controls, such as those appearing in Manipulate constructs, are by default rendered depending on the operating system. Wrapping everything in ...
2
votes
1answer
53 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
3answers
164 views

How to change FieldSize to be the same as dropdown menu width in PopupMenu?

I've tried the following code to change the FieldSize but I can't make it equal the actual value of MenuSize and I tried to ...
2
votes
1answer
37 views

Dialog-type notebook

I have the following dialog to calculate the product of a and b: ...
2
votes
1answer
143 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 ...
2
votes
1answer
103 views

Is it possible to create a manipulate control with lower and upper value

I'm trying to create a manipulate controller to set four value. High and low temperature for both test and use conditions. The four values then go into a calculation. I can set these as four ...