Jump to content

Recommended Posts

Posted

Hello Farshad,

 

sorry - i explaned it not correct ... i want to move (drag) the window with mouse ... the area of the form should be "dragable" .. because i disabled the title ..

 

Thanx for suggestions

 

Erich

Posted

Hi Erich.

 

Try to use: Ext.dd.DDProxy

 

Example for the main form:

function window.afterrender(sender, eOpts)
{
  sender.dd = new Ext.dd.DDProxy(sender, '');
  sender.dd.afterDrag = (function (){sender.doLayout()});

  Ext.onReady(function ()
    {       
      Ext.get(sender.id).select(".x-form-field").each(function (el) {sender.dd.addInvalidHandleId(el.dom.id)})
    }
  );
}

Best regards.

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