Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RightClick in Treeview
Message
De
05/09/2001 01:24:48
 
 
À
04/09/2001 18:43:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00552201
Message ID:
00552341
Vues:
17
>>I can't believe there's no RightCLick event in the MS TreeView control.
>>
>>Does anyone know of a good alternative TreeView control that might support this? I don't mind buying one...
>
>Have you tried MouseUp or MouseDown events in the Treeview?
>
>They both have a button parameter, which can tell you if the right mouse button was clicked (I think button = 2).
>

Right, but the MouseUp event doesn't fire over a node, only over ablank part of the control. Luckily the Mousedown event behaves as expected, so I can store the mousebutton in that event, and check it in the NodeClick, which fires for both the left and right mouse buttons.

I can't believe that such critical events were left out of an otherwise well thought-out control.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform