Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting item in a listbox using the right mousebutton
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00496488
Message ID:
00496490
Views:
11
>Is there any way to make a right click on the mouse select an item in a listbox?
>
>I'm trying add a context menu on the right-click but I need know what the pointer was over when the user right-clicked. I was determining that from the click event.

Use the MouseDown event and the Button parameter to check for the right button.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform