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
restonian
Level I

Can you remove all menu items from New Window() ?

Hello,

I'd like to remove all the default menu items from the Window I create when using the New Window() function.

I didn't find any documentation on this in the "JMP 10  Scripting Guide" that I'm using to learn JSL.

The default menu items have no meaning within my application, and I like to be able to present the users with an uncluttered dialog box.

Thanks for your help.

Robert

 


1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Can you remove all menu items from New Window() ?

New Window has many options (hold mouse pointer over the command in jsl editor to see all options).

Maybe this does what you want:

nw=new window("uncluttered", show menu(0), show toolbars(0));

View solution in original post

2 REPLIES 2
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Can you remove all menu items from New Window() ?

New Window has many options (hold mouse pointer over the command in jsl editor to see all options).

Maybe this does what you want:

nw=new window("uncluttered", show menu(0), show toolbars(0));

restonian
Level I

Re: Can you remove all menu items from New Window() ?

Thanks MS, thoes arguments did the trick along with the hover suggestion!  I went back to  Scripting Guide and did find the New Window ()  function documented in Appendix A.