Is there a way to keep the UltraPopupControlContainer from closing if the user clicks outside of it? I have an UltraPopupControlContainer with a text box and save/cancel buttons on it. If there is unsaved text in the box and the user clicks outside of the control, I want to pop up a messagebox asking if the user really wants to close the window and lose the unsaved text. Is that possible?
Thanks,
Cassio
Hello Cassio,
You could use WinDockManager and put the desired control in a DockableControlPane which will not have a close button and will not be docked. This way your control will always be visible to the end user.
Please feel free to let me know if I misunderstood you or if you have any other questions.
So there's no way to do this with the UltraPopupControlContainer? I'm not familiar with the WinDockManager, does it behave in a similar way? I don't want the control to always be visible, I just want to be able to intercept the closing request and cancel it if necessary.