Questions tagged [gui-construction]

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

Filter by
Sorted by
Tagged with
6 votes
1 answer
127 views

Why does this construct give no output control object?

Control@{h[3], 0, 1} It is puzzling. (The motive for h[i] is to build a list of controls.)
User18's user avatar
  • 882
6 votes
1 answer
746 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 ...
orome's user avatar
  • 12.8k
6 votes
1 answer
463 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: ...
István Zachar's user avatar
6 votes
1 answer
275 views

Hyperlinks that open smoothly in the same window

Suppose that I have test1.nb and test2.nb in my local disk. For simplicity, suppose that ...
imida k's user avatar
  • 4,295
6 votes
1 answer
111 views

Conditional rendering of items

Let's say I have a column to display and each of its items can be hidden separately. Question: Is there a way to make it work without re-rendering whole column whenever a particular item is hidden? ...
Kuba's user avatar
  • 137k
6 votes
1 answer
265 views

Giving the input focus to a particular input field

A couple of versions of Mathematica ago there was discussion of how one can set focus on a particular input field: How to set focus of a dialog window? http://community.wolfram.com/groups/-/m/t/...
user90346's user avatar
  • 355
6 votes
1 answer
482 views

DynamicModule issues with Refresh, double evaluation, and CDF Player preview

I am in the middle of making a CDF for a calculation of many random variables. I've gone with DynamicModule and have read the documentation plus these posts: 32294 ...
Edmund's user avatar
  • 42.3k
6 votes
1 answer
339 views

ListPicker with conditional selection

I am reading data from a SQL Database and want to manually sellect multiple rows. ListPicker works very nicely, the only added complication is that I need to not only select the records, but also ...
BlueMac's user avatar
  • 711
6 votes
1 answer
690 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 may ...
Helium's user avatar
  • 4,059
6 votes
0 answers
53 views

Graphics Primitive Selector

Goal and motivation I want to build something that would intuitively work like: Graphics @ PaneSelector[{True -> something, False -> {}}, Dynamic @ show] ...
Kuba's user avatar
  • 137k
6 votes
0 answers
82 views

What are the possible options for the Appearance option of IntervalSlider?

IntervalSlider has a styling option Appearance -> ..., where possible options include ...
Quantum_Oli's user avatar
  • 7,964
6 votes
0 answers
173 views

How to create a floating image with no window background [duplicate]

Possible Duplicate: What is the most effective way to setup a Notebook with transparent background but solid contents? When MMA 8 starts, a floating image of spikey is shown. As you can see the ...
magma's user avatar
  • 5,290
5 votes
2 answers
1k 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 ...
Nothingtoseehere's user avatar
5 votes
2 answers
813 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 ...
baumannr's user avatar
  • 787
5 votes
2 answers
332 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 ...
knbosche's user avatar
5 votes
3 answers
503 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 ...
Tyler Peters's user avatar
5 votes
1 answer
378 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 <...
Trevor 's user avatar
  • 237
5 votes
3 answers
200 views

How to incorporate ResourceFunctions to autocomplete

Edit: As mentioned in the comments below, typing just ResourceFunction["Mo"] results in a list of ResourceFunctions that have a name that starts with Mo. This is good enough for me although ...
userrandrand's user avatar
  • 5,872
5 votes
3 answers
234 views

Manipulate delimiter between control and content

Is it possible to stylize Manipulate so that there is a line separating the control and the content? The code ...
sam wolfe's user avatar
  • 4,693
5 votes
2 answers
472 views

How to "completely" hide all animator controls in Manipulate[]

The following generates a Manipulate[] with an animator that is controlled with a slider and buttons. ...
B flat's user avatar
  • 5,523
5 votes
1 answer
395 views

switch between automatic and manual updating

I have a plot with interactive controls. I'd like to give the user the option between having the plot automatically update (when the plot's parameters are changed with the slider) and having the ...
nibudd's user avatar
  • 53
5 votes
1 answer
393 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 "...
Steve D's user avatar
  • 2,209
5 votes
2 answers
92 views

Updating/ disabling certain slider values dynamically in Manipulate

I am struggling with Manipulate dynamic updating. I would like to have an image containing two points which can both be moved in real time to any location on the ...
E Crane's user avatar
  • 145
5 votes
3 answers
290 views

How to stabilize the overall appearance of a Manipulate widget?

NB: I've seen other post's that ask similar questions, but I haven't found one whose answers address the problems described here. The code below is a very artificial example that illustrates the ...
kjo's user avatar
  • 11.7k
5 votes
2 answers
575 views

How to show and hide text by a button

I'm trying to implement a button that can show and hide output text in a panel/tab, but I can't find a specific command to do that. I tried StringReplace, but it doesn't work for me.
RandomEli's user avatar
  • 241
5 votes
1 answer
358 views

Rotation Slider Control

Mathematica seems to support no "rotation slider" Control which might be used, for instance, in setting an angular direction ($0 \leq \theta \leq 2 \pi$) on a plane. I couldn't find one in ...
David G. Stork's user avatar
5 votes
1 answer
152 views

Dynamic InputField with syntax highlighting?

I'm trying to create a notebook where a user can enter a Mathematica expression, and its syntax is analyzed (number of tokens, compressed size, etc.). Trying this answer, ...
lirtosiast's user avatar
5 votes
1 answer
161 views

How to make the choice list for one PopupMenu depend on the choice in another

Code fragments below ...
John McGee's user avatar
  • 2,538
5 votes
1 answer
341 views

Multiple buttons in a Manipulate: how do I get a good layout?

Consider the following code ...
sam wolfe's user avatar
  • 4,693
5 votes
1 answer
102 views

The reason behind ControlToBoxes (DynamicDump`)

Background I'm trying to establish best practices for custom controllers programming. This question is about one top level aspect of it. WRI suggested (few talks I don't remember right now) to ...
Kuba's user avatar
  • 137k
5 votes
1 answer
128 views

Interactive eraser for a ContourPlot

I recently had my interest peaked by the excellent thread "Exclude data from a list." In particular, the second answer which constructs an interactive eraser which allows one to delete data points in ...
Benighted's user avatar
  • 1,327
5 votes
1 answer
183 views

Synchronizing code in Dynamics with other procedures

I have huge code and some problem. I don't know how to make example. I'm afraid I can't make good SMALL example to demonstrate you the problem. So I'll try to explain. Maybe somebody know about such ...
Vasily's user avatar
  • 61
5 votes
2 answers
525 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 ...
Daniel W's user avatar
  • 3,426
5 votes
1 answer
805 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 ...
Matt's user avatar
  • 317
5 votes
1 answer
64 views

Why can't HorizontalGauge be directly added to the control part of Manipulate[]?

I try to use HorizontalGauge in Manipulate as follows: ...
DORA's user avatar
  • 403
5 votes
1 answer
68 views

IntervalSlider and updating function specification

IntervalSlider seems to ignore Dynamic's second argument: ...
Kuba's user avatar
  • 137k
5 votes
1 answer
182 views

Cloud CDF and HTTPRedirect

Cross posted on community.wolfram.com Question and requirements Is it possible to HTTPRedirect from a Cloud CDF via e.g. Button...
Kuba's user avatar
  • 137k
5 votes
1 answer
170 views

How to have button's action repeat as long as the button remains pressed?

The widget below is just a toy that I put together so that I could ask this question. ...
kjo's user avatar
  • 11.7k
5 votes
1 answer
541 views

C# Tree view similar

Is it possible in Mathematica to add a GUI like the Tree GUI element in Visual Studio 2010 C# Windows Forms? I want to have the similar feel
TraceKira's user avatar
  • 373
5 votes
2 answers
121 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 ...
mickey's user avatar
  • 375
5 votes
1 answer
388 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 Monitor[]...
Gregory Klopper's user avatar
5 votes
1 answer
1k 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 ...
Daroslav's user avatar
5 votes
1 answer
479 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, ...
ShaunH's user avatar
  • 807
5 votes
1 answer
139 views

How to speed up a text search widget?

I have an InputField that searches a predefined list for matching strings and displays them in a TextGrid. But when the list is ...
M.R.'s user avatar
  • 31.5k
5 votes
1 answer
233 views

CDF Complex Numbers

I can't enter complex numbers into my cdf file. I can enter complex numbers in my mathematica .nb notebook, the results change dynamically. I can enter real numbers in my cdf file, the results change ...
WXYZ's user avatar
  • 129
5 votes
1 answer
168 views

GUI button with AceFEM functions

I would like to have a GUI with a button that starts AceFEM analysis and then some results appear. I have taken one example from the documentation on boundary condition specification and I wrapped it ...
Vincenzo Giamundo's user avatar
5 votes
1 answer
933 views

JSON Expandable/Collapsible Fields with OpenerView

When you have a deeply nested hierarchical JSON structure, tools like JSON Editor Online help a lot to get an overview of the structured data at various levels. In this way you control the level-of-...
Athanassios's user avatar
  • 1,301
5 votes
1 answer
160 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) ...
kon's user avatar
  • 263
5 votes
2 answers
166 views

Dynamic not responding to Refresh TrackedSymbols

I am attempting to creating a UI dialogue that updates itself as selections are made. The issue is the UI is not updating itself even though the dependent variables are being updated. A very minimal ...
Edmund's user avatar
  • 42.3k
5 votes
1 answer
138 views

Using TrackingFunction to set a Control variable for multiple Controls more efficiently

The variable t needs to reset to 0 if any of the other variables tab1, tab2, or ...
baumannr's user avatar
  • 787

1 2 3
4
5
13