Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What method am I in?
Message
De
16/06/2004 21:29:33
 
 
À
16/06/2004 16:15:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00914067
Message ID:
00914512
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
>Thanks, but I get some strange results when I put the code in that method. Sometimes the drag/drop will work and other times it does not nothing. Is that the only way to run the nodeclick() when the user initiates a drag/drop from a source treeview to a destination treeview? Basically I need to know the value of the item (display value) that the user is trying to drag over to the 2nd treeview. I have code in the nodeclick that does that and also displays related information on other textboxes on the form so initiating nodeclick should work.
>
>Basically, if the user has one item selected in the 1st treeview but drags ANOTHER item in the treeview over to the destination treeview, I need to know to process based on the item he dragged and not on the selected item in the treeview...


Hi Tracy,

Try this:
*** OLEDragOver event
If (state == 0)
   oNode = This.HitTest( x*15, y*15 )
   If !IsNull( oNode )
      This.NodeClick( oNode )
   endif
endif
HTH
Herman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform