Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag & Drop on Treeviews
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00561133
Message ID:
00561461
Vues:
22
This message has been marked as the solution to the initial question of the thread.
Fabio

Hittest() has a little distortion .... use it like this
* In the TreeView's OLEDragOver event:
*** ActiveX Control Event ***
LPARAMETERS oData, effect, button, shift, x, y, state
LOCAL loNode
IF oData.GetFormat(1) && 1=text
   loNode = THIS.HitTest( x*15, y*15 )
   THIS.DropHighlight = loNode
ENDIF
some further details are on the Wiki too ...
http://fox.wikis.com/wc.dll?Wiki~TreeView~WIN_COM_DNA

HTH
Markus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform