Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RightClick in Treeview
Message
From
05/09/2001 01:24:48
 
 
To
04/09/2001 18:43:21
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00552201
Message ID:
00552341
Views:
18
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform