Jump to content

Drag Form


Recommended Posts



Workaround for Minimize-Maximize.


form -> ClientEvents -> UniEvents -> Ext.window.Window -> window.beforeInit

  sender.constrainHeader = true;
  config.tools = [{
        type: 'restore',
        handler: function (evt, toolEl, owner, tool) {
                var window = owner.up('window');
                window.setWidth(1182);  //  <-- Your actual form width
                window.expand('', false);

form -> ClientEvents -> ExtEvents -> Ext.window.Window -> window.minimize

  sender.alignTo(Ext.getBody(), 'bl-bl');

form -> ClientEvents -> UniEvents -> Ext.window.Window -> window.beforeInit

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.

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