>We use ON KEY LABEL RightMouse to exit our forms. The issue is coming up now if there is a form on top of another form, then the Right Click will close both forms. In tracing, it looks like clicking the right mouse button causes two actions, when it goes down and when it comes back up. I would have thought it would only happen on the Up after a Down, but that doesn't seem to be the case. Anything I can do to still keep this functionality and have it work correctly?
May be instead of using ON KEY LABEL you can switch to KeyPress event (if all forms are based on the same base class)? This is more reliable method than ON KEY LABEL.
I meant MouseDown event or RightClick, as Hilmar said. Anyway, not ON KEY LABEL.
If it's not broken, fix it until it is.
My Blog