cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
Scripts that create a modal New Window might result in an error: Deleted Object Reference

DisplayBoxes in a New Window that uses the <<Modal option are no longer accessible after the window is closed.  When a New Window is closed, the DisplayBoxes that make up the contents of the window are destroyed.  Earlier versions of JMP on Windows operating systems incorrectly allowed scripts to access the DisplayBoxes due to a delay in the actual destruction of the objects.  

There are several ways to extract information from the DisplayBox objects before the window is closed.  As explained in the Scripting Guide, you can use the <<Return Result option so that the values are returned as a list. Other options are to write your own OK button with the desired actions in the script argument for the Button Box.  Also, you can use the <<OnClose option for the New Window.  Further details can be found in the Close a Window section of the Scripting Guide.

 

[Previously JMP Note 65115]

Details
Operating System
Windows
Reported Version
15.0
Products JMP JMP Pro