Jump to content

Does it possible to prevent a window is dragged out of the top browser work space


Tokay

Recommended Posts

Hi! I know about the UniMainModule -> ConstrainForms = True, it constrain form position for all fourth sides. Actuall mostly issue side is the top of the window and other sides contrains more interfere than help. Does it possible to add constrain form only for the top side of window?

Link to comment
Share on other sites

1 hour ago, Tokay said:

I know about the UniMainModule -> ConstrainForms = True, it constrain form position for all fourth sides. Actuall mostly issue side is the top of the window and other sides contrains more interfere than help. Does it possible to add constrain form only for the top side of window?

Hello,

Maybe this config suits you?

function window.beforeInit(sender, config)
{
    config.constrainHeader=true;
}

 

  • Like 1
Link to comment
Share on other sites

Please add if possible in the future release option like UniMainModule -> ConstrainForms = True, but with config.constrainHeader=true. It seems that this feature is neceseery for all forms, but there are no possibility to add it globally on the app to all forms.

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