Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview drag & drop

Status
Not open for further replies.

madlarry

Programmer
Dec 6, 2000
117
GB
Hi All,

Has anybody had a problem with dragging items from a Treeview??

The problem I have is if an item is dragged immediately horizontally from a Treeview (either left or right) it doesn't get dragged. It works fine if you drag it immediately vertically (up or down) first and then to the receiving object.

Anyone got a solution to this????

Cheers,

Madlarry
 
Don't worry, I've figured it out! #-)

I just need to call the Treeview1.Drag vbBeginDrag method in the Treeview1_MouseDown event.

TTFN

Madlarry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top