BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
restonian
Community Trekker

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

 


0 Kudos
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));

0 Kudos
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));

0 Kudos
restonian
Community Trekker

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.

0 Kudos