Subscribe Bookmark RSS Feed

New window size not working

wr

Community Trekker

Joined:

Mar 3, 2015

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.