Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tree View
Message
De
11/08/2001 19:16:09
 
 
À
11/08/2001 08:10:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00542637
Message ID:
00542697
Vues:
13
I should say, as often with VFP, it depends.
If you're using the mousedown event in conjunction with hittest to determine if a node has to be selected or not, it's fairly possible.
some piece of code in mousedown could be like this one :

If m.Button = 1
loNode = THIS.HitTest(x , y )
If not isnull(loNode)
*-- here, you can add some conditions of yours
If myConditionisTrue
m.loNode.Selected = .T.
Endif
m.loNode.Expanded = .T.
Endif
Endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform