Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Drag&Drop from a TreeView
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
OLE Drag&Drop from a TreeView
Divers
Thread ID:
00678611
Message ID:
00678611
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform