Hi,
The windows in our application are mostly fixed in width but should change the height dynamically depending on the content that is loaded.
The problem now is that if I set the window to 'CenterScreen' and the content is loaded into the window after the window has opened the window will not recenter.
Meaning that depending on the content, the bottom of the window might actually disappear 'under' the browser. Since we do not allow windows to be moved by the user, this is a problem.
Is it possible to somehow trigger a recentering of the window? Or a smart routine so I can do it myself?
Thanks in advance.
The windows in our application are mostly fixed in width but should change the height dynamically depending on the content that is loaded.
The problem now is that if I set the window to 'CenterScreen' and the content is loaded into the window after the window has opened the window will not recenter.
Meaning that depending on the content, the bottom of the window might actually disappear 'under' the browser. Since we do not allow windows to be moved by the user, this is a problem.
Is it possible to somehow trigger a recentering of the window? Or a smart routine so I can do it myself?
Thanks in advance.