We’re rewarding the question askers & reputations are being recalculated! Read more.

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
5
votes
1answer
75 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 ...
9
votes
0answers
137 views

What is the point of PaneSelector?

Intro PaneSelector looks like a pretty idiomatic way to toggle displayed content e.g.: ...
2
votes
1answer
56 views

Docked Cell Slider that controls magnification of Output Cells only

The following code (found here on stack exchange) creates a docked cell which contains a slider that can be used to change the magnification of the entire notebook. ...
2
votes
1answer
76 views

Formatting the value that the option “Labeled” shows to the right of a manipulator

I need that the appearence labeled of the manipulate take the form rationalize. My code is: ...
3
votes
1answer
245 views

Need help in creating a GUI

This time, I write to the community to ask for your help in creating the following interface. See next image I will try to explain what that interface consists of, start with password, there the user ...
0
votes
0answers
17 views

CreateDocument fails to open when ExpressionCell has RegionMember function [duplicate]

I am working on a code for a colleague where I am trying to compute the Bond Orientational Order for a cluster of particles. To make life easier for processing a large number of images I wish to ...
0
votes
0answers
30 views

How to disable “Animate Bookmarks” in a Manipulate

Is there any way of disabling the item "Animate Bookmarks" in the control menu (which appears clicking on the + symbol on the top right corner) of a Manipulate? The rationale for this question is ...
0
votes
1answer
49 views

Using List of Variables to construct Control[] within Manipulate[]

How can I use a list of variable names within Symbol[] inside a Manipulate[], specifically using ...
0
votes
1answer
123 views

How to display and control current value of a 2d slider [closed]

Regarding the use of 2D sliders in Manipulate: (1) How do you display the current value (x,y) that corresponds to the location of the slider point? (2) How can one ...
2
votes
1answer
86 views

Making an interactive BulletGauge

For the purposes of an interactive demonstration I need to use a bullet gauge to readily show a moment in which the manipulated parameter passes a certain point. Like this, where the point Lambda=0.5 ...
3
votes
0answers
67 views

Recommended Notebook and Cell Options for Deployed GUIs

I often use CreateNotebook to enclose GUIs that open in a Deployed, non Saveable and non <...
1
vote
1answer
77 views

How to make Manipulate run automatically after evaluation?

How to make Manipulate run/play automatically after evaluation, i.e. without having to hit the play button (but still being able to use the pause/play button)? <...
0
votes
0answers
43 views

Manipulating Input Fields/Inputting Single Letters (Edited)

I'm curious whether if there is a method of creating InputFields that are similar to this: I am currently attempting to create a crossword puzzle that has an interface like this, and I found it ...
6
votes
2answers
130 views

Checkboxes to ranked list

So, my aim is to produce a user interface with checkboxes not only returning True/False, but also the order in which they were ...
1
vote
1answer
80 views

Interactive Manipulators acting badly

How do I fix the bad behavior of Manipulator? This is in regards to this Interdependent controls in Manipulate question. Heike' s code does not work right on the first click when specifying the ...
5
votes
1answer
61 views

How to record when a control is triggered in Manipulate?

I'm trying to figure out how to tell when controls have been triggered Manipulate (in Animate, actually, but I take it ...
4
votes
2answers
215 views

Printer icon in version 10+

I would like to make a button which prints something. I would like to use a printer icon on the button, if possible. Is such an icon or symbol present and usable in Mathematica 10+ ?
1
vote
1answer
78 views

Dynamic updating of a list-picker's contents

A piece of drop-dead simple code: ...
2
votes
1answer
136 views

How to place a FormFunction in DialogInput?

FormFunctions work well in a notebook cell. ...
1
vote
0answers
60 views

Multipage FormFunction “Required” FormObject broken with “FileName” interpreter

Multipage FormFunction does not validate FormObjects with "FileName" interpreter if the field is left blank. Minimal example <...
1
vote
1answer
68 views

Problem with DialogInput and store variable

Writing: ...
2
votes
2answers
52 views

How can I show an extra dependent parameter in a Manipulate expression?

The following use of Manipulate has a parameter from alist, which is iterated via the counter ...
4
votes
3answers
214 views

How to get the size of a DateObject?

DateObjects can be of varying physical dimensions. CurrentDate[Today, #] & /@ {"Day", "Month", "Year"} How do you get ...
0
votes
0answers
35 views

Is there a “LostFocus” event for controls? [duplicate]

In .Net controls have a LostFocus event that fires when the control is no longer the active object; tabbing to next control or clicking somewhere else on the ...
1
vote
1answer
127 views

Manipulate, TabView, and Histograms. Can they all be combined? [closed]

I previously received assistance here in constructing a Manipulate image that allows me to overlay plots of different data sets and toggle them on and off as needed,...
1
vote
1answer
81 views

Need input control for manipulate allowing custom data

I am working on an a Ray Tracer for optical lens. Currently my code takes in a list of lens data: ...
2
votes
1answer
60 views

How to monitor CellBracket evaluation state

Setting SynchronousUpdating to False or Automatic in GUIs may send calculations to the ...
1
vote
1answer
81 views

How to make InputField admit multiple entries

Is there a way to make InputField[] compatible with RepeatingElement or a similar scheme of user interaction? The idea is to ...
6
votes
2answers
146 views

How to organise functions inside a package instead of the initialisation of a DynamicModule?

I want to know how to write clean code of a big DynamicModul for a complex GUI which should be deployed as a CDF. I want to split the dynamic module into several smaller DynamicModuls and Functions. ...
2
votes
0answers
78 views

How to refresh a TemplateSlot in a dynamic FormFunction?

I am building a FormFunction that makes use of a TemplateSlot to define a field. This minimal example demonstrates the issue. <...
1
vote
1answer
51 views

Dynamic value within Table not being evaluated

This is a bit of a follow-up question to my post here. I'm now attempting to replicate the same general code using Connect Four (7x6 grid instead of 3x3). However, when I pass a ...
5
votes
2answers
167 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. ...
2
votes
3answers
442 views

How to make Button just works one time

I have such code to slect prefer font ...
4
votes
1answer
123 views

Modify Dynamic value within EventHandler

I'm trying to build a tic tac toe program using a 3x3 board list running inside of a DynamicModule with a separate window displaying the current value and accepting ...
10
votes
1answer
132 views

Spelling check for InputField

Is it possible to enable ShowAutoSpellCheck for String InputFields? Similarly to ...
0
votes
1answer
74 views

Creating a button that can store a number

I would like to create a button which has the action of storing a numerical input. Is this possible? For example, a button which I click, then enter "5", produces the result the the number 5 gets ...
1
vote
1answer
41 views

IntervalSlider[] stops working after using Locator[]

Dynamic IntervalSlider[] on a DateListPlot[] loses ability to change ...
1
vote
0answers
61 views

Upload notebook to the Cloud and add a download hyperlink in separate cloud objects

cross posted on community.wolfram.com Title say it all, I want to export _Notebook to cloud as a .nb file and make it available to download via hyperlink in different places. This is rather a code-...
5
votes
1answer
142 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 ...
3
votes
1answer
57 views

How to change the label “Evaluating Initialization…” when SynchronousInitialization -> False?

I frequently use SynchronousInitialization -> False when I have time consuming initialization in a Manipulate expression. I ...
4
votes
2answers
124 views

How can I make a custom resizable Pane?

Having a Pane with AppearanceElements->{"ResizeArea"} is super convenient. It's nice to be able to adjust sizes as needed. ...
2
votes
1answer
83 views

Speed of flow of time in Dynamic ClockGauges

Currently trying to utilise the ClockGauge function to display two clocks side-by-side that have different UpdateInterval. The ...
2
votes
1answer
44 views

Assigning to variables depending on choice made in dialog

I want to set some global variables depending on which control object I select (the gui interaction should be modal). Here is my example code: ...
10
votes
1answer
404 views

Animating a Potential Function (eigenfunctions of Laplace's equation)

I have written the following DynamicModule. The idea is that you can change the boundary, calculate the eigenfunctions and then animate them. Here is the code: <...
2
votes
1answer
107 views

How to combine Graphics primitives in a DynamicModule without breaking it

I am trying to present Graphics primitives dynamically. I want the displayed image to be able to update after the user changes the controls. An example would be ...
3
votes
1answer
94 views

Custom appearance for PopupMenu

Question What is the shortest method to make a PopupMenu with custom appearance, e.g. something like: ...
14
votes
3answers
260 views

How can I get a FileNameSetter-like dialog inside my own custom dialog?

I am making a GUI for one of my programs. The program is tasked with opening certain data files containing optical spectroscopy data and then doing things which are unrelated to this question. The ...
3
votes
1answer
48 views

Manipulate requires two evaluations after revision

This Manipulate program below allows the user to enter points on a LocatorPane and then draws a line through the points. The <...
2
votes
2answers
83 views

How can I completely remove the label of SetterBar in Manipulate[…]?

For example, I have the bellow code: Manipulate[ Plot[invert*Sin[x], {x, -Pi, Pi}], {{invert, 1}, {1 -> "reset", -1 -> "invert"}} ] Even though I set ...
3
votes
1answer
72 views

dynamic graph vertex name evaluation

I am trying to create a graph which allow the user to create new vertices and edges. clicking on an empty spot in the graph creates a new vertex, and clicking an existing vertex creates a popup window ...