Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop in a TreeView
Message
From
04/06/2002 12:13:09
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00664529
Message ID:
00664558
Views:
12
First, GetData method (this is function) REQUIRES FORMAT and RETURNS DATA, i.e.:
DataVariableName = GetData(2) && 2 is for bitmap

Second, files must be retrieved by Files property:

*-- Method TreeView.OLEDragDrop
LPARAMETERS data, effect, button, shift, x, y
Private FilesCount

IF data.GetFormat(15)
FilesCount = data.files.count
DIMENSION laFiles(FilesCount)
FOR i=1 TO FilesCount
laFiles(i) = data.files(i)
wait window laFiles(i) timeout 2
ENDFOR
ENDIF

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform