drag and drop question
Posted on 2006-04-06
I am using vb 6 and I want to be able to drag and drop controls on a form at runtime(for this example a textbox or a label) I have an image of a ruler on the top and side of the form and when I drag the textbox, etc... to a spot on the ruler it always snaps back a few and never lines up correctly. I tried a couple of examples I found on this site and it didn't work. Can someone post a simple example of how to do this? I want the control to stay at the point it is dropped not move.