Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView and right-click
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00506933
Message ID:
00506986
Views:
24
This message has been marked as the solution to the initial question of the thread.
Hi Sylvain,

You should subclass the treeview control and add your own RightClick() method to the sub-classed control. Then in the MouseDown event, check to see if the user pressed the right mouse button.

LPARAMETERS button, shift, x, y
DO CASE
CASE BITTEST(button,1) && Right Mouse Button
THIS.RightClick()
ENDCASE

Kurt
Previous
Reply
Map
View

Click here to load this message in the networking platform