Subscribe Bookmark RSS Feed

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

restonian

Community Trekker

Joined:

Jun 8, 2012

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
Solution

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

2 REPLIES
Solution

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

Community Trekker

Joined:

Jun 8, 2012

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.