Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop in a TreeView
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Drag and Drop in a TreeView
Divers
Thread ID:
00664529
Message ID:
00664529
Vues:
47
Hi everybody!

I need an little example how method 'OLEDragDrop' works in TreeView activeX when a file, or many files, were dragged from Explorer into TreeView -object.GetFormat(15)-.

if use the next code TreeView send me a OLE-Error.
*-- Method TreeView.OLEDragDrop
LPARAMETERS data, effect, button, shift, x, y

DIMENSION laFiles[1]

IF data.GetFormat(15)
   data.GetData(@laFiles)  && Error here!
   FOR i=1 TO ALEN(lafiles)
      wait window laFiles[i] TIMEOUT 2
   ENDFOR
ENDIF
Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform