>>>What is the VFP equivalent of the following VB code
>>> 'Set TreeView.DropHighLight = Nothing'
>>TreeView.DropHighLight = .Null.
>>Cetin
>That exactly what I used the first time through.
>
>Unfortunately I get the error
>'OLE Dispatch Exception Code 0 From TreeCtrl Type Mismatch'
>
>I'm running VFP 5.0. could this be a factor?
Hi Tom,
I use it successfully with other activex controls. But treeview ? I suspect even if there really it has a drophighlight and hittest() working if not called directly from a VB app. ie: Strangely this works :
* Dragdrop
this.DropHighlight = oSource.value
where oSource is a native VFP txtbox control ???
Cetin