How to move shapes by using Drag & Drop ?

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

How to move shapes by using Drag & Drop ?

Post by uxout »

Hello there,
anyone found a way to use the mouse Drag & Drop to move a shape in a panel ?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to move shapes by using Drag & Drop ?

Post by leoknipp »

There is no standard solution available to move a shape by mouse in a runtime panel.
You can possibly use the following approach:
-- In the object configure a "DragStart" script which sets the object invisble
-- At the panel define a "DragDrop" script which changes the position for the selected object and sets it visible again.

Why do you want to move objects during runtime?

Best Regards
Leopold Knipp
Senior Support Specialist

vy.nguyenthanh@biendongco.vn
Posts:13
Joined: Wed Sep 18, 2019 10:49 am

Re: How to move shapes by using Drag & Drop ?

Post by vy.nguyenthanh@biendongco.vn »

I have same problem as the author. And my target is that I'd like to move faceplate without title panel. Can anyone help me?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to move shapes by using Drag & Drop ?

Post by leoknipp »

This topic is related to the movement of shapes inside of a panel.
For moving the complete panel please have a look at the following thread
viewtopic.php?f=16&t=10837&p=966476#p966387

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1