Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and drop in treeviews
Message
De
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:
01357086
Vues:
28
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform