Timm,
I have done some similar, that is, drag from a treeview and drop it on a
browse and viceversa. I've done it at work. Next monday I'll prepare a
sample how to do it. But in few lines, the idea is to get the item where
the mouse was over when starting drag (saving it in a data of the form) and,
in the moment of the dropping, get the item where it is over and insert it
and, thus, delete the item in the other tree.
I hope it give you some clues. If not, next monday I'll send you a working
sample.
Regards,
José Luis Capel
"Timm Sodtalbers" <
Sodtalbers@t-online.de> escribió en el mensaje
news:47ee1429$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I already tried the Drag&Drop example. I want to drag an item from a
> TreeView
> and drop it in another TreeView. I can´t get it to work.
> Is there anybody out there who has a work example?
>
> Best regards, Timm.
>
>
>
> "Ignacio Ortiz de Zúñiga" <
NoName@xailer.com> schrieb im Newsbeitrag
> news:47ece77c$[email=
1@ozsrv2.ozlan.local...]
1@ozsrv2.ozlan.local...[/email]
>> Timm,
>>
>> I am afraid I do not have any sample, but the one included on the Drag &
>> Drop samples directory. Sorry
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Soporte Xailer]
>> [Xailer support]
>>
>>
>> "Timm Sodtalbers" <
Sodtalbers@t-online.de> escribió en el mensaje
>> news:[email=
47ece66a@ozsrv2.ozlan.local...]
47ece66a@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> do you perhaps have an example?
>>>
>>> Best regards, Timm.
>>>
>>> Timm Sodtalbers
>>> Sodtalbers IT
>>>
www.backupbuilder.com
>>>
>>>
>>> "Ignacio Ortiz de Zúñiga" <
NoName@xailer.com> schrieb im Newsbeitrag
>>> news:[email=
47ecbbb3@ozsrv2.ozlan.local...]
47ecbbb3@ozsrv2.ozlan.local...[/email]
>>>> Timm,
>>>>
>>>> Yes, you can but is not compatible with Drag & Drop between items. BTW,
>>>> it will require some work on your side to know exactly the item that
>>>> receives the dropped element (See method HitTest)
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> [Soporte Xailer]
>>>> [Xailer support]
>>>>
>>>>
>>>> "Timm Sodtalbers" <
Sodtalbers@t-online.de> escribió en el mensaje
>>>> news:[email=
47ebd750@ozsrv2.ozlan.local...]
47ebd750@ozsrv2.ozlan.local...[/email]
>>>>> Hi!
>>>>>
>>>>> Is it possible to drag+drop an item from one TreeView control to
>>>>> another
>>>>> Treeview control?
>>>>>
>>>>> Best regards, Timm.
>>>>>
>>>>> Timm Sodtalbers
>>>>> Sodtalbers IT
>>>>>
www.backupbuilder.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>