Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable Right Mouse Click
Message
 
À
05/01/2001 09:49:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00459781
Message ID:
00459812
Vues:
26
>Does anybody know a way to disable right mouse clicking on a control? When the right mouse button is clicked on this particular control it brings up a menu with several options. We don't want the user to see this menu -- is there any way to disable it?

Hi Phillip,

Where is the code which calls the menu? Is it inherited from the your control's base class? In this case you can just put an asterisk into RightClick() method of the control so the method will be overridden and the parent class code will not fire.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform