Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect display of IWSelect in IWModalWindow
#1
Hi,

I have a region with a few controls that I display in a IWmodalwindow.
When I put a IWSelect component inside the region the dropbox goes behind the entire region.
This happens only if the region is used as a Content Element of a IwModalwindow.
Same behaviour if you do the same thing in the iwmodalwindow demo.
I use Delphi 10.4 and IW 15.2.46.


Can you please check if what I found is correct?

Thanks in advance
Fabrizio
Reply
#2
Hi Fabrizio,

I'll have a look. Have you tried to change the ZIndex property of the IWSelect control (giving it a higher value)?
Reply
#3
Thank you Alexandre for your answer.

Yes I tried zindex, but with no success. The dropbox does not only go under other controls but under the Content Region itself.
I'm moving my code from TMS AdvMessageDialog component to standard Intraweb IWModalwindow and this is what happens when in a dialog I have a IWSelect component.
Playing a little with the IWModalwindow demo it seems that this happens only when in the Content Region there are other controls, but maybe there are other things to look at.

Fabrizio
Reply
#4
I tested it on a sample project and it works if you set the ZIndex to a really high value, equal or above 99999990. This is the zindex used by the overlay div when showing the modal window.

We are changing the rendering of IWSelect to do it by default regardless of the chosen zindex. It will be available in the next release.

Cheers,
Reply
#5
It works.
In my tests I tried only a zindex value of 5000.

Thank you for your help.

Fabrizio
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)