Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting item in a listbox using the right mousebutton
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00496488
Message ID:
00496490
Vues:
10
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform