cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Learning Resources

Choose Language Hide Translation Bar
Using the New Window Function

So, suppose you want to create a report that includes objects or display boxes that aren't part of a standard set of display boxes in a JMP platform, or maybe you want to create a report using values your script harvested from a JMP platform, but organized differently. Well, you use the New Window function to create a new window and then construct display boxes inside that window. The New Window function actually creates a report layer, and returns an object reference to it, so you can store the reference in a variable. For example, the code shown here creates a simple report with an outline item that contains two columns, organized by a table box. The report layer object reference is stored in the variable nWin, so you could send messages to it. For example, you could send a message to save it as a journal, change the window size, or close the window, to name just a few of the messages that this object can respond to. When you write a script to create a custom report, it's a good idea to start by visualizing what you want the final report to look like. What elements do you want to include, and where or how will your script get those elements? How do you want the report elements organized? Vertically? Horizontally? Using tabs? What kinds of display boxes will that organization require? Do you want to include live platforms? Add a custom menu? This kind of up-front planning will make the process of writing your script a lot easier.

Recommended Articles