>Dear all,
>
>Is it possible to pass an object reference between two TreeView using ole drag and drop? Any example that can illustrate this would be highly appreciated? Thank you.
>
>Regards,
>Kueh
Kim,
I don't know if you could pass full object ref. In solution app there is a sample (should be under 'New features'). There you could set data to node's key and get obj ref when dropped :
lparameters data,effectsallowed
data.SetData(this.SelectedItem.Key)
lparameters data ...
If Data.Getformat(1)
lcKey = Data.GetData(1)
loNode = thisform.OleTreeSource.nodes(lcKey)
wait window "Dropped "+loNode.Text
Endif
Cetin