Atozed Forums
IWModalWindow doesn't show a 'templated region' centered - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: IWModalWindow doesn't show a 'templated region' centered (/thread-698.html)



IWModalWindow doesn't show a 'templated region' centered - jeroen.rottink - 09-27-2018

Hi,

In IW14 I started using TIWModalWindow to show a region that has it's own templateprocessor to add some layout. The content of the modalwindow was not centered on the screen. Only after a resize action of the browser the modalwindow got centered. IW15 didn't bring changes to this.
By using the ServerController.JavascriptOptions I could get my hands on the IWModalWindow javascript object and made a change so the content is centered.

Alexandre: Can I send you an e-mail with example project so you can check?

Using IW15.0.13 with Delphi 10.1 Berlin.


RE: IWModalWindow doesn't show a 'templated region' centered - Alexandre Machado - 09-28-2018

> Alexandre: Can I send you an e-mail with example project so you can check?

Yes, please :-)