Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Drag&Drop from a TreeView
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
OLE Drag&Drop from a TreeView
Miscellaneous
Thread ID:
00678611
Message ID:
00678611
Views:
56
Hello All,

I'm having a bit of trouble with OLE Drag&Drop. I've set this up in a number of places throughout my app with no problem, however when using a TreeView control I having difficulty doing one thing and that is dragging a node out of the TreeView window on to the main screen so that I can delete the dragged item.

I've got this technique working just fine from normal screen by using the OLEStartDrag method and setting
Lparameters oDataObject, nEffect

oDataObject.ClearData
oDataObject.SetFormat("Rapid DeleteCollect")  && Delete the Rapid Collection Address
This enables me to identify what is being dragged to the screen for deletion. However the DataObject of the TreeView seems to work differently and I can't figure out now I indicate what is being Dragged (The SetFormat is not available within the TreeView) can anybody point me in the right direction.

Thanks in anticipation.
Caroline
Next
Reply
Map
View

Click here to load this message in the networking platform