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…)
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.
Version 13 of JMP introduces a new display box: Calendar Box.
Now if you are creating a form to gather input from a user you can use this control to allow the user to easily specify a date or datetime.
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…)
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…)
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…)
In an earlier post I discussed how the hint property of a text edit box can add some finesse to our user interface creations.
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.
Often we only need trivial amounts ofJSL to perform a particular task.
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.