I was recently asked a question about updating display boxes. Display boxes are the building blocks of JMP output windows. Fundamentally there are two methods of updating these display boxes, which I will take a closer look at. (more…)
Category Archives: User Interface Design
Display Box Misalignments
Sometimes you compose a collection of display boxes and they don’t appear to be fully aligned. If you care about the aesthetics of a user interface this can drive you a bit crazy! Here is a trick that will help you fix the problem.
(more…)
Calendar Box
Validating Modal Windows
A modal window forces a user to respond to a prompt before continuing execution of a script. The JMP user interface rarely uses modal windows and as programmers we should respect this principle and use modal windows sparingly. If a task is important enough to warrant a modal window it’s probably important enough to demand some level of validation of user inputs. Here’s how: (more…)
Grab Those Handles!
I have a graph with a line drawn on it. I want to user to be able to change the orientation of the line by “clicking and dragging”. To do this need to implement drag-handles. Here’s how … (more…)
Some Homework
Don’t worry. The homework is for me, not you. But feel free to have a go yourself also! I want to create a set of data which contains a binary response that is linearly separable within a plane defined by two input variables. (more…)
Taking JSL for a Spin
In an earlier post I discussed how the hint property of a text edit box can add some finesse to our user interface creations.
Display Boxes
With a little effort you can create some stunning interfaces to front-end your JSL scripts. The individual elements of the user interface are known as display boxes. They can be used to add content to a window and to control alignment.
Adding Some Class To Your Journal Scripts
Often we only need trivial amounts ofJSL to perform a particular task.
Designing a User Interface? Take the Hint!
When we create a custom window in JMP we basically design a layout for a variety of user interface building blocks referred to as display boxes. Most of these are quite logical – a button box displays a button, a radio box displays a radio button, a list box displays a list, and a text box displays some text.