refresh

Controls screen updating.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      

Syntax

void refresh([onoff])
expr          onoff

Description

onoff (optional) specifies action to take with pending updates.
  • True --- (not zero) All pending updates are performed. In addition a flag is set for the current window indicating that all future updates to that window should be performed immediately.
  • False --- (zero) no screen updates are performed until either refresh() or refresh(true) is called, or an input call is made.
  • Not specified --- All pending updates are performed.

Example

Opens several windows with only one screen update:
{
.
.
refresh(false);
window(W1,open);
window(W2,open);
window(W3,open);
refresh(true);
.
.
}