Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB to VFP Treeview Question
Message
From
02/04/1999 17:35:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/04/1999 13:48:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00204610
Message ID:
00204825
Views:
21
>>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform