>>>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?
>>
>>You might use the RightClick() or the MouseDown() event.
>
>I'm trying that now, but it does not seem to respond. I've got THISFORM.Release in there, but nothing happens when I right click. I even put an ON KEY LABEL RIGHTMOUSE just to make sure that was clear.
I'll assume you tried the RightClick() Event.
Form.RightClick() certainly responds, as I can check with a MessageBox(). It even release the form, if I issue ThisForm.Release().
I think you need to do some debugging, lest some part of your framework is interfering. For example, put a SET STEP ON as the first command in Form.RightClick().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)