Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right click in a multiselect listbox
Message
De
27/04/1998 09:01:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00095072
Message ID:
00095090
Vues:
20
>>Having a multiselect listbox in a form, how can i activate a context menu with the rightclick of the mouse, without desselecting the previously selected items ???. Normally the right click works as the left click so it deselects the items and select only one.
>
>Have you looked at MouseDown Event? I don't know whether it will fire before or after the Click events but you can intercept the button pressed and have a case statement depending on which one was pressed.

Ok. I've put my rightclick code on the mousedown event an added 'nodefault' clause. It works fine. Thanks.
Saludos,
A.G.P.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform