Jump to content
Sign in to follow this  
JRowe

Drag and Drop from a listbox to a treeview

Recommended Posts

JRowe

I've been looking at the drag and drop code from the UDF help files, and I'm confuzzled.

I see lots of examples of dragging and reordering treeviews and listviews, but nothing about dragging items from one control to another.

I'd like to be able to drag items from a listbox onto a treeview. Is there an easy way?

Share this post


Link to post
Share on other sites
smashly

Hi,

I know you asked for drag and drop from Listbox to TreeView, but is may be easier to have a button or use a context menu to send the selected ListBox items to the TreeView.

EG: Right click on the listbox and use a context option to "Send Selected to TreeView".

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.