Consultor Eletrônico



Kbase P9079: How to make a pause without having any visible window?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/03/2003
Status: Unverified

GOAL:

How to make a pause without having any visible window?

FIX:

The PAUSE Statement suspends processing indefinitely, or for a specified number of seconds, or until the user presses any key. Therefore, Progress needs at least one visible window to trap a user keystroke, even when using the NO-MESSAGE option.

Use the PSTimer instead of the PAUSE statement.

Hint: in the OCX.Tick event (search for this event in the Section Editor), you should first stop the timer by setting the 'enabled' attribute to FALSE.