Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop in a TreeView
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Drag and Drop in a TreeView
Miscellaneous
Thread ID:
00664529
Message ID:
00664529
Views:
46
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!
Next
Reply
Map
View

Click here to load this message in the networking platform