Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right click fires click event?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01250683
Message ID:
01250689
Vues:
12
>I have a right click that sets up a pop-up menu. VFP menulib class. When I right click the menu appears but when I left click on say Select all, the click event fires and the listitem my mouse was positioned on is then the only thing selected. How can i control the click event from fireing

Perhaps you can save ListIndex in right click and also have a flag, so in the Click event you would re-set it back.

This is the quick idea, I guess you're having a problem with ListBox, which may have wrong behavior...

You can also set a flag in right click method, put NODEFAULT if this flag is set and reset it back to default value.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform