Chapter Contents

Previous

Next
REFRESH

REFRESH



Redisplays a window using current field or control values

Category: Window


Syntax
Details
Example

Syntax

REFRESH;


Details

Refreshing a window can result in updating window variable values. FRAME entries can also use the _refresh method.


Example

Suppose the field NAME is displayed on the left side of a PROGRAM entry and that NEW.PROGRAM is sized so that it is displayed on the right side of the window. When the following code runs, NAME changes to red and then NEW.PROGRAM is displayed. If the REFRESH statement were not present, NAME would not appear red until NEW.PROGRAM is closed and control is returned to the application.

rc=field('color red','name');
refresh;
call display('new.program');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.