09-17-2019, 10:57 AM
Hi Dan and thanks for your suggestions! Your suggestions do not work right away if I apply it to the ShowModal method in my base frame, I still get the same rendering error. But I found the example you referred to and saw that they use the same TIWModalWindow instance for different purposes. So I tried to move the component from the frame to the form (so that there is a single instance) and let the base frame have a ModalWindow property instead. This was not enough however, I also had to make sure that I removed the previously showed frame from its parent control before showing the other. I have not had time to investigate why this is so, although I suspect it could have something to do that we have more than one control named IWFrameRegion (inside the frames) that we use as ContentElement. I attach a new version of my test program which functionally seems to be working OK now. I will check if I can apply this kind of change to my real world application as well.
/Magnus
/Magnus