BookmarkSubscribe
Choose Language Hide Translation Bar
michaelkennedy
Community Trekker

Web Browser Box Parameters

Hi All

Having an issue with the Web Browser Box function in jsl. Take this simple code below:

New Window("Web Page Test",

  Web Browser Box("https://www.google.com/")

);

When I run this I get this extremely small window where I have scroll bars to navigate around the web page open (even if I resize the window the browser box remains the same size), is there a way to set the size of the web browser box to a parameter of my choosing?

7962_Browser Box.jpg

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Staff (Retired)

Re: Web Browser Box Parameters

Not sure what's going on there, I see it too.  Try this:

x=New Window("Web Page Test",

  Web Browser Box("https://www.google.com/")

);

x[webbrowserbox(1)]<<setsize(500,500);

Craige

View solution in original post

2 REPLIES 2
Craige_Hales
Staff (Retired)

Re: Web Browser Box Parameters

Not sure what's going on there, I see it too.  Try this:

x=New Window("Web Page Test",

  Web Browser Box("https://www.google.com/")

);

x[webbrowserbox(1)]<<setsize(500,500);

Craige

View solution in original post

michaelkennedy
Community Trekker

Re: Web Browser Box Parameters

Great that worked perfect

0 Kudos