2024R3.1 How to change the size of a webpage programatically?

Hello all,

I want to change the vertical size of a webpage programmatically when different menu selections occur. So at this point the page has been displayed already

I’ve tried Self.Height = SomeNewHeight

And I’ve added ‘UpdateBrowser’ following. Nothing changes.

Is it possible to change the height programmatically?
If so, how to do it?

Tim

Making the browser window height change?
I think the option to resize browser window is disabled on most browsers.

1 Like

You should be able to change the MinimumHeight property at runtime.

Hi Alberto
So is changing the page height also changing the browser window height?

Hi Greg,

I tried setting the min height lower than normal (like 500) to make sure that the additional height is much greater than the min. That did not work.

It’s all about appearance. I have a couple of options yet to try but thought I’d ask about these first.

You need to go the other way. Make the min height higher, as in, how much space you need there to be.

Thanks for the recommend!

I wound up setting the page height to something reasonable. Then shifted the PageFooter up and down depending…

Tim

1 Like