Drag and drop onto a predetermined grid.
1 view (last 30 days)
Show older comments
My current project is to design a GUI that allows users to create a series piping system with pumps, valves, connectors, and other things. What I would like to do is have all the possible parts shown on the side and then have the user drag them onto a grid where they would snap into place. Is there something in MATLAB that would allow me to do this or would I have to track where the piece is and manually tell it what position to snap to?
0 Comments
Accepted Answer
Jan
on 21 Mar 2014
I do not know a method, which does this automatically. But snapping is easy, because you only have to find the nearest matching location.
1 Comment
More Answers (0)
See Also
Categories
Find more on Fluid Dynamics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!