Hi!
In my application I have some nonmodal forms and a UniPageControl on MainForm.
For every nonmodal form I dynamically create a page, a UniPanel on the page, and then create required form on the panel.
In one of nonmodal forms I need to call a movable modal form (border style is Sizable, biSystemMenu border icon enabled).
When I drag this modal form - I can accidentally move it beyond application work area in browser. After that I can't move the form back and can't close it any more
Is there any way to restrict moving? By main form area maybe?
I've made a testcase.
Testcase
Press button "Show nonmodal form 1" on MainForm, then in page "NonModalForm1" press button "Show modal test form" and move this modal form so it's title hides.
Please, help!