Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop in a TreeView
Message
De
04/06/2002 12:13:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00664529
Message ID:
00664558
Vues:
10
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?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform