erich.wanker Posted September 26, 2014 Posted September 26, 2014 Hello, how can i move a UniForm which has no titlebar (BordeIcons [], BorderStyle:=bsNone) Thanx fro Suggestions Erich Quote
Administrators Farshad Mohajeri Posted September 26, 2014 Administrators Posted September 26, 2014 Using code. Form.Left := .... Quote
erich.wanker Posted September 29, 2014 Author 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
Sherzod Posted September 29, 2014 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
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.