Consultor Eletrônico



Kbase P143347: How can I get the ultraStatusBar control to refresh?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/03/2009
Status: Unverified

GOAL:

How can I get the ultraStatusBar control to refresh?

GOAL:

Why doesn't the ultraStatusBar control refresh until the end of my loop?

FACT(s) (Environment):

Windows
OpenEdge 10.2x

FIX:

When running through a loop the ABL does not refresh user interface controls during each iteration of the loop. To make the ultraStatusBar control update to show its new contents do one of the following:

1) Invoke the PROCESS EVENTS statement inside the loop. This will force the ABL to check for any pending messages from Windows (including messages to refresh controls).

2) Use the ultraStatusBar controls Refresh() method to cause only the ultraStatusBar control to refresh.