Kbase P159301: Lookup window (.NET Form) displayed from Leave event of UltraTextEditor causes form to display behin
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/28/2010 |
|
Status: Unverified
SYMPTOM(s):
Lookup window (.NET Form) displayed from Leave event of UltraTextEditor
Lookup window displays behind .NET Form containing the control being exited
Lookup window is modeless (i.e. not a dialog box)
Leave event is generated by using the tab key
FACT(s) (Environment):
OpenEdge 10.2x
Windows
CAUSE:
Any Leave event must do processing both before and after the event. The processing after the event is to put the focus into the next control in the tab order for the Form that the control is part of. This normal event processing behavior is what causes the lookup window to be displayed behind the parent Form.
FIX:
Use the UltraTextEditor's BeforeExitEditMode event instead of the Leave event. You can set the e:Cancel property to true to force the equivalent of the ABL RETURN NO-APPLY statement and ignore the event (if required).