It’s World Statistics Day! To honor the theme of the day, the JMP User Community is having conversations about the importance of trust in statistics and data. And we want to hear from you! Tell us the steps you take to ensure that your data is trustworthy.
Choose Language Hide Translation Bar
Highlighted
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
Highlighted
ms
Super User ms
Super User

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
Highlighted
ms
Super User ms
Super User

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

Highlighted
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.

Article Labels

    There are no labels assigned to this post.