erich.wanker Posted September 26, 2014 Share Posted September 26, 2014 Hello, how can i move a UniForm which has no titlebar (BordeIcons [], BorderStyle:=bsNone) Thanx fro Suggestions Erich Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 26, 2014 Administrators Share Posted September 26, 2014 Using code. Form.Left := .... Link to comment Share on other sites More sharing options...
erich.wanker Posted September 29, 2014 Author Share Posted September 29, 2014 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 Link to comment Share on other sites More sharing options...
Sherzod Posted September 29, 2014 Share Posted September 29, 2014 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now