Kbase P5604: Using the PAUSE option of the WAIT-FOR statement causes no widget to get focus
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/3/2009 |
|
Status: Verified
SYMPTOM(s):
Using the PAUSE option of the WAIT-FOR statement causes no widget to get focus
FACT(s) (Environment):
All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)
CHANGE:
Added the PAUSE option to the WAIT-FOR statement
CAUSE:
The WAIT-FOR statement with the PAUSE option purposely does not cause anything to get focus automatically. This is because people use it to implement a timer loop to do background processing and it used to bring the application to the foreground every time it re-entered the WAIT-FOR.
FIX:
Either use the FOCUS option of the WAIT-FOR statement use use APPLY 'ENTRY' TO <SomeWidget>.