GerhardV Posted March 4, 2019 Share Posted March 4, 2019 @Farshad, see the attached video demonstrating the issue when dragging a panel over a TUniDBHTMLMemo. Dragging it over the other containers like panels seems to display fine but the moment the mouse enters a TUniDBHTMLMemo then the display stops to update until the mouse exists the TUniDBHTMLMemo. Is this possible to fix? PanelDragIssue.webm PanelDragIssue.zip Quote Link to comment Share on other sites More sharing options...
GerhardV Posted March 13, 2019 Author Share Posted March 13, 2019 @Farshad Mohajeri can this be changed/fixed? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 Hi, Are you using Chrome? Quote Link to comment Share on other sites More sharing options...
GerhardV Posted March 14, 2019 Author Share Posted March 14, 2019 Chrome, Opera, Edge and FireFox....all same effect. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 14, 2019 Share Posted March 14, 2019 I have a workaround I think Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 16, 2019 Share Posted March 16, 2019 On 3/14/2019 at 11:07 PM, GerhardV said: Chrome, Opera, Edge and FireFox....all same effect. Is the question still relevant? I forgot to attach the solution procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSAddListener('boxready', 'function(me){if (me.dd) {me.dd.startDrag = function(){'+ UniDBHTMLMemo1.JSName +'.bodyEl.setStyle("pointer-events", "none")}}}' ); end; procedure TMainForm.UniPanel1EndDrag(Sender: TUniControl; Left, Top: Integer); begin UniDBHTMLMemo1.JSInterface.JSCode(#1'.bodyEl.setStyle("pointer-events", "auto");'); end; 1 Quote Link to comment Share on other sites More sharing options...
GerhardV Posted March 17, 2019 Author Share Posted March 17, 2019 Thank you, works as expected. I wonder if it is possible to implement that in the framework? @Farshad Mohajeri 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.