Jump to content

How to protect to move Form out of Browser Display area.


AMIT

Recommended Posts

Hi,

 

I accidentally move the mainform until the title bar of the form is out of the browser display area as shown in the attached file.    I cannot close the form or even move it back in the browser display area.     How to protect to not allow user to move the form out of display area.     Please help.

 

 

post-199-0-35370400-1458489306_thumb.jpg

Link to comment
Share on other sites

Hi,

 

I accidentally move the mainform until the title bar of the form is out of the browser display area as shown in the attached file.    I cannot close the form or even move it back in the browser display area.     How to protect to not allow user to move the form out of display area.     Please help.

 

 

try this

 

function window.beforerender(sender, eOpts)

{

   sender.constrain=true;

}

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...