Hy!
I would like to make a simple line dragable run-time!
thats it:)
Thanks!
Printable View
Hy!
I would like to make a simple line dragable run-time!
thats it:)
Thanks!
Depends on the VB version you use.
VB6: You could use a Line-object (that one has events already)
.Net: You need to detect if the line is selected (display that in some way) and when selected change the position of the line according to the mouse (or whatever). A Redrawing of the your form/picturebox or whatever will show the result.