GUI-construction involves everything that is used to programmatically construct a custom graphical user interface under Mathematica.

learn more… | top users | synonyms

0
votes
0answers
34 views

How can I include a popup menu in my wizard's content?

I'm trying to create a wizard that enables the user to choose between different shaft components. At the same time, I need a flag to be 1 if he chooses a bearing and 0 otherwise. I extended the ...
2
votes
3answers
141 views

Writing a simple application: interactive quiz for multiplication table practice

I am trying to write a very simple application in Mathematica: a quiz that tests a multiplication table(let's use the 9x9 for this example). The app will display a question(e.g. 7x5), and the user has ...
3
votes
2answers
165 views

DynamicModule/Dynamic CheckboxBar Slow for Large Lists

I am trying to create a dynamic construct that takes a large list of expressions and allows the user to interactively select any number of entries for further manipulation. This is what I have ...
4
votes
1answer
78 views

Dial control for Manipulate?

I'm trying to make a control item in a Manipulate that is a simple dial. I'm trying to mimic Manipulate[theta, {theta, 0, 360}], ...
4
votes
0answers
47 views

FlipView can't handle CurrentValue[“MouseOver”]. Kernel crash

Is this code crashing your Mathematica session? (it can so look out :P) ...
0
votes
0answers
30 views

Panel size undesired behaviour

This is next question from the series: better avoid Panel if you care about details. previous about FrameMargins In the ...
4
votes
2answers
112 views

Entering scientific notation in an InputField

I am trying to make an InputField for numeric input, but InputField[Dynamic[num],Number] Does not allow the user to type ...
0
votes
1answer
101 views

GUI and Dynamic update problems

I have made many functions that connect to a MySQL database perform operations then export exel spreadsheet. I also import spreadsheet data into the database. I would like to get many of these ...
0
votes
1answer
60 views

Is there a way to redefine the looks of buttons, tabs and other UI elements?

I am looking for pointers on how to redefine UI elements (in the FE as well as in a CDF document). For example: the looks of a button, or of tab elements, and so on. (I don't mean something like ...
10
votes
1answer
184 views

How to suppress Tooltip in built-in templates?

...or maybe switch the message. But I will be happy with no Tooltip at all. I've naively tried with ...
3
votes
0answers
120 views

GUI Maker? Is there a perhaps drag and drop GUI maker for Mma?

IDE's like Borland, Eclipse, and others have ways of making GUI's. Drag and drop is usually the way of it. Then one puts the variables together and links up everything. Mma seems to handle (at least ...
1
vote
0answers
62 views

Symmetric FrameMargins problem

Such details are driving me crazy while creating GUIs with Mathematica: ...
5
votes
2answers
297 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
1answer
345 views

Dialog crashes Mathematica

I have some dialog windows in a GUI of which one regularly crashes the kernel. I managed to focus on this particular piece of code, though I don't really know what causes the crash: ...
0
votes
0answers
56 views

Widget - GUI help

I was wondering if someone could explain me the code written below (example File Dialog from mathematica). Especially the part with returnValueand ...
5
votes
3answers
156 views

How to make a control array of buttons or togglers?

An array of buttons From time to time I wish I had a control array of the sort native to Visual Basic. A control array of buttons would be a table of buttons in which each button "knows" its ...
7
votes
4answers
132 views

Make which controls are visible in a Manipulate depend on a control value

I want to make a simple demonstration using Manipulate in which I have one or two input fields show depending on whether or not another control is True or False. How can I achieve such functionality? ...
5
votes
0answers
81 views

Is there something like MaxProcessorUsed?

For standard procedures it is easy to test if the implementation is better or worse than other by using Timing etc. It does not help us with creating ...
4
votes
1answer
112 views

Pretty InputField

I'm trying to create a "template" notebook for myself. I want to get input from a single InputField, and then run a few operations on it. How can I make the ...
2
votes
1answer
106 views

Delay of events detection dependent of “MouseDown” position

Let's say we have a Rectangle with color which depends of CurrentValue["MouseOver"]: ...
1
vote
1answer
87 views

Input text field GUI [duplicate]

Is there a way to input multiple rows of text and save it as a variable? Like an InputField, but with multiple rows? I would like to make a simple text redactor, so that I could enter a text and then ...
9
votes
1answer
226 views

Possible bug with second argument of Dynamic

According to the documentation, Dynamic Details & Options section, especially: For interactive mouse operations Dynamic[expr,{f_start, f, f_end}] typically ...
64
votes
2answers
4k 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 ...
0
votes
0answers
57 views

GUIKit`Private`Script appended to expression when I try to update list through Table Widget

I am trying to update a list every time a value in a Table Widget is changed. My list has to be made from expressions and not strings since I am doing some symbolic calculations each time the table ...
4
votes
1answer
140 views

How do I put a Monitor into CDF?

I would like to keep track of progress of a database request in an Enterprise CDF, but it won't allow PrintTemporary or ...
7
votes
1answer
127 views

When are EvaluationNotebook[] and ButtonNotebook[] different?

I am looking for a concrete code example where EvaluationNotebook[] and ButtonNotebook[] will return different results. The ...
5
votes
3answers
189 views

Switching among view points in a Manipulate expression

Edit: Some additional viewpoints were included to make it easier to test. Here's code for an alternative function, the graph of which is a bit less symmetric. Feel free to use either code set: ...
3
votes
1answer
156 views

InputField with Scrollbars [duplicate]

Edits are marked in bold: How do I make an InputField that behaves just like the following HTML Textarea example. ...
3
votes
1answer
126 views

Can one optimize AutomaticNumbering feature?

If one wants to use the automatic numbering feature of Mathematica, he has to make tags for cells of the type he wants to be referenced to. Then, as soon as he needs to make a reference to the tagged ...
2
votes
1answer
136 views

How can I place gui controls inside Grid? [duplicate]

In all my apps, I am facing a problem about placing the Gui controls inside Grid. For this purpose, I wrote three functions. The first function, ...
5
votes
1answer
149 views

Is it possible to embed a notebook as a panel in a java GUI?

I'd like to create a GUI that displays a tree, some text boxes, buttons, and then as a panel, a fully-functional notebook. Is that possible?
2
votes
1answer
133 views

How to control dependent PopupMenus?

I created three interdependent PopupMenus with names demographic, region and ...
4
votes
1answer
348 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 ...
4
votes
2answers
259 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: ...
5
votes
0answers
246 views

How can I change cursor style in InputField?

I want to make an InputField with a horizontal cursor, like this: Note that the blinking cursor should be horizontal and not the mouse pointer! Nevertheless, ...
1
vote
1answer
96 views

Can't see updating performed by NMinimize[…,StepMonitor->(…)] outside of Button in which it's called [duplicate]

I've made a peak-fitting GUI in which I have a "Fit" button that, when pressed, calls NMinimize[...,StepMonitor->(step++)] to minimize a sum of squared ...
0
votes
1answer
86 views

Possible to use Manipulate in GUIRunModal?

Is it possible to use the widget created by Manipulate within GUIRunModal? I intend to run the file using ...
4
votes
1answer
232 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 ...
9
votes
2answers
192 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, ...
7
votes
2answers
241 views
4
votes
2answers
145 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 ...
3
votes
1answer
159 views

How can I create a CDF application while using GUIKit?

I have created a notebook that uses GUIKit to create a user interface. The targeted user does not have Mathematica available so I thought about using the CDF player to convert the file if possible, ...
4
votes
3answers
187 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 ...
6
votes
2answers
443 views

How can I set the background color to the Popupmenu?

I want to set the Background color of a PopupMenu to blue. I already searched in the documentation center, but I didn't find any ...
7
votes
2answers
110 views

Appearance in Checkbox does not work

I'm experiencing strange behavior in Checkbox with Appearance: ...
5
votes
3answers
194 views

Self-referential list or table of buttons

How could one create a table or list of buttons, such that clicking on a button removes the button itself from the list?
2
votes
2answers
115 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
2answers
395 views

How to create a simple interface to get file path and execute some code on it?

I need to create a simple user interface to choose one file in the notebook directory, import it and execute some functions on the imported data. For the first version I created this code: ...
6
votes
1answer
278 views

Interactive Graph Editing with Animation

I want to make a simple interactive user interface like this: Such that when the user clicks on the "Add Edge" button, the edge specified by from and to fiels is added to the graph. The new graph ...
3
votes
1answer
102 views

Changing the contents of a TextCell according to the user input of another TextCell

Is it possible to change TextCells in the following code in that way, that the TextCell "profile starts at x =" changes to "profile starts at y =" and at the same time the TextCell "measurement starts ...