Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right click fires click event?
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01250683
Message ID:
01250689
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform