cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
wr
wr
Level II

New window size not working

Hi,

Would appreciate your help on understanding why the code below does not work.

nw2 = New Window("test", <<Size(400,900));

The syntax reference says  "<<Size(x, y) Creates a new window of the specified height and width.")

This works but would like to understand if I am doing something wrong above:

nw2 = New Window("test");

nw2 << Set Window Size(400, 900);

Thanks.

1 REPLY 1

Re: New window size not working

I would like to update this comment.

a) there were some window sizing issues in older versions of JMP. Those have now been fixed so that size arguments are no longer sometimes ignored when size was specified in the creation command.

b) The correct command to send in the example from the original poster is << Size Window(). The following will work correctly in JMP 15 and later.

nw2 = New Window("test", <<Size Window(400,900));