Drag/Drop Pushpins to another Control

JamesHayes81
01-12-2007, 07:14 AM
Hi,

I have been working with mappoint 2006 within VB .net for the last few days, and currently importing delivery data via the CSV/DataImport method. This is all working fine...

My question is however...

is there anyway to allow users to drag/drop pushpins to another control such as a treeview. The idea is that the treeview will have a list of available vehicles/drivers which the user assign the deliveries (pushpins) too.

I see there is no direct drag/drop functionality on the mappoint control, but was wondering if anyone had an idea of how to acheive a similar approach..
Many Thanks
James

Wilfried
01-12-2007, 02:31 PM
Hi,

Yes simple to do. You have to use MouseDown event. You have to have a linked list to your pushpins. When user drop you add it to the control / list you want.

 
Web mp2kmag.com
mapforums.com