force to refresh current screen

Hi Guys,

Please help me on how to refresh or reload my xojo web page after device orientation is changed? I need to realign buttons and container.
Thank you.

you can use the OrientationChanged event to know that it happened, but you must move the controls yourself if simple locking doesn’t work.

It might be even better to create a page with different orientation and show that page if the orientation has changed.

Look at what I did to manage that in RubberViewsWE at