Consultor Eletrônico



Kbase P105037: Progress windows not being redrawn properly
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/19/2009
Status: Verified

SYMPTOM(s):

Progress windows not being redrawn properly

Progress window not redrawn when moving it on screen

White areas appear in Progress window if overlaying window is moved or closed.

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Windows

CAUSE:

This behavior occurs if the Progress session is processing, and not expecting user interaction; for example while running a FOR EACH loop that takes a few seconds to complete.

The Progress GUI client relies in part on the Windows OS to actually draw the various widgets, and if the session is kept busy as described above, the client does not send the required messages to Windows to have it re-draw the screens. So when switching and/or moving windows on screen while the client is busy, the Windows OS will quite literally be unable to fill in the blanks.

FIX:

This immediate issue can be solved by adding a PROCESS EVENTS statement at an appropriate place in the application code (such as inside a long processing loop).
This will force the client to handle events, and at this point it will also force the Progress windows to be redrawn.

Note that the performance may degrade slightly, but overall the application will be more responsive.