Jump to content

Modal window can be dragged beyond application work area limits


Nadya

Recommended Posts

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.

image.png.bccd0a4b07b27fd9246343041a1f0d46.png

image.thumb.png.cf50892d5ceb5fa7b4a8fdbe84bd49bc.png

Please, help! :sad:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...