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 Quote 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 := .... Quote 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 Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.