SAS Component Language Dictionary |
Redisplays a window using current field or control values
Refreshing a window
can result in updating window variable values. FRAME entries can also use
the _refresh method.
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');
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.