>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