Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and drop in treeviews
Message
 
À
24/10/2008 17:16:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01356825
Message ID:
01357095
Vues:
25
Thank you very much for your explanation and code. I understand this better now, and the code works for me to.
/Kjell


>I use the following in the MouseDown event to detect the node:
>
>
>LPARAMETERS pnButton, pnShift, pnX, pnY
>LOCAL loNode
>IF pnButton = 2
>	loNode = this.HitTest(GKKPixelsToTwips(pnX,"H"),GKKPixelsToTwips(pnY,"V"))
>	IF VARTYPE(loNode) = "O"
>		this.RightClkMenu(loNode)
>	ENDIF
>ENDIF
>
>
>This is used to call a right-click menu. I have a UDF to get the pixels to Twips.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform