03-19-2018, 09:24 PM
Is there a way that I can make my own IWForm, and do something like I would do in Delphi, i.e. just call Form.ShowModal.
I have found the IWModalWindow component, but the annoying thing about it is that if I want to do something fancy, I put it on a region, and set the IWModalWindow.ContentElement.
That is simple, but it means that on my main form, I have all the stuff for my main form, then I also have a region that contains the components for the modal window. So the form has tons of components on it. I would like to move the components I need for the modal window onto a separate modal window to not clutter up my main form. Especially if the main form can launch 5 or 6 modal windows it would get crazy.
Can I make a new IWFrame and put the IWFrame as the ContentElement?
I have found the IWModalWindow component, but the annoying thing about it is that if I want to do something fancy, I put it on a region, and set the IWModalWindow.ContentElement.
That is simple, but it means that on my main form, I have all the stuff for my main form, then I also have a region that contains the components for the modal window. So the form has tons of components on it. I would like to move the components I need for the modal window onto a separate modal window to not clutter up my main form. Especially if the main form can launch 5 or 6 modal windows it would get crazy.
Can I make a new IWFrame and put the IWFrame as the ContentElement?