Exiting the Subform (Magic xpa 4.x)
One thing that is different about subforms in Rich Client is that when the subform is exited, the parent task also exits. If the Exit internal event is raised, or the user presses Escape in the subform, the parent task will also exit. This is also true for Frames. If you want to prevent the task from exiting when the user presses Escape at a lower level, you can create a System event for the Escape key, with Propagate=No.