-
DragDrop TreeView / ListView
Hi all,
I have a problem that i hope you will be able to help me with
I am working in VB6 and have a standard form with a listView and a treeview.
My aim is to organise images on this form
I populate the Treeview with data from a SQL, this gives me a list of root folders (nodes) when the user clicks the node the listview is populated with a list of images that are linked to the node clicked.
What i need is to be able to drag the image from the listview onto the treeview and alter the node that the image is linked to. this will effectivly move the image.
What is the best method of draging and droping when using a treeview and listview ???
Thanks
John
-
I haven't looked at the code but the following may help:
http://www.freevbcode.com/ShowCode.Asp?ID=3766
Paul
~~~~
Microsoft MVP (Visual Basic)
-
Hi,
That is PERFECT !!!!!!!!!!!
Thanks Lots :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks