Kbase P135298: Error on second WAIT-FOR Application:Run usage
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/9/2009 |
|
Status: Verified
SYMPTOM(s):
Error on second WAIT-FOR Application:Run usage
Can I have more than one WAIT-FOR with .NET forms?
System.InvalidOperationException: Starting a second message loop on a single thread is not valid operation. Use Form.ShowDialog instead.
You cannot WAIT-FOR a Progress built-in event once any .NET forms are made visible. Use WAIT-FOR Application:Run(form) or WAIT-FOR formx:ShowDialog() instead. (13967)
Beta
FACT(s) (Environment):
Windows 32 Intel
OpenEdge 10.2A
CAUSE:
It is not permissible to have more than one WAIT-FOR executing waiting for .NET events
FIX:
If you are doing this to show a second form or dialog use one of the Show methods of the form like Show or ShowDialog.