Hi,
I've attached the project I'm working on. The form contains a grid image and a few bars that can be stretched and moved left and right (thanks JohnH!). The bars come form the "Shift.vb" class within the project.
What I'm trying to do is to get the bars to snap to the grid when moved or stretched. I was trying to make the drag surface be a panel, but it was getting a little over my head so I've switched to a grid on an image.
Any suggestions on how to get snap to grid functionality going would be appreciated.
Thanks,
CM
I've attached the project I'm working on. The form contains a grid image and a few bars that can be stretched and moved left and right (thanks JohnH!). The bars come form the "Shift.vb" class within the project.
What I'm trying to do is to get the bars to snap to the grid when moved or stretched. I was trying to make the drag surface be a panel, but it was getting a little over my head so I've switched to a grid on an image.
Any suggestions on how to get snap to grid functionality going would be appreciated.
Thanks,
CM
Attachments
Last edited by a moderator: