PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: Cedric on September 04, 2020, 10:45:29 AM

Title: *Browser object full screen?
Post by: Cedric on September 04, 2020, 10:45:29 AM
Hi,

wondering if possible to open a Browser object in full screen just like a normal window/browser?
Title: Re: *Browser object full screen?
Post by: Devon Austen on September 04, 2020, 03:47:34 PM
When you say fullscreen do you mean what happens when you hit F11 in a browser like chrome? Or do you just mean pressing the maximize button on a resizable window?
Title: Re: *Browser object full screen?
Post by: Cedric on September 08, 2020, 07:28:21 AM
No, I mean... Create a window that contains the Browser object that can be resizable and maximized if needed. (just like a normal browser)
In other words, make the Browser object grow within the window?
Title: Re: *Browser object full screen?
Post by: Devon Austen on September 08, 2020, 09:18:01 AM
Are you using Nomads or is this a non Nomads screen?
Title: Re: *Browser object full screen?
Post by: Cedric on September 08, 2020, 06:12:44 PM
non Nomads...
Title: Re: *Browser object full screen?
Post by: Devon Austen on September 09, 2020, 08:14:04 AM
The *browser control is similar to many of the other PxPlus controls and is resized in the same way.

For non-nomads you have to add the logic yourself to detect a resize event CTL = -1105. Then on that event you can use the [pvx]left, [pvx]top, [pvx]height, and [pvx]width properties of the *browser control to adjust the size and position based on the resize of the window.

The only way for PxPlus to handle it for you is to use Nomads.