Chapter Contents

Previous

Next
Widget Class: _update

Widget Class: _update



Updates a widget


Syntax
Details

Syntax

objectName._update( );


Details

The _update method re-creates an object and updates its contents based on its current attributes, which may require rereading an external file, data set, catalog entry, or SCL variable.

The _update method differs from the _refresh method in the extent of its update. A _refresh method updates an object's display in a window. An _update method updates the object's contents, and possibly re-creates the object, before updating its display in the window.

For example, a SAS/GRAPH Output object does not attempt to reread the Grseg entry with the _refresh method. The Grseg entry is reread with the _update method. Suppose you have a SAS/GRAPH output object that displays Sasuser.Graphs.Sales.Grseg. If the Frame application regenerates the Grseg entry (for example, via a SUBMIT block), the SAS/GRAPH output object needs an _update method for the new Grseg entry to be displayed.


Chapter Contents

Previous

Next

Top of Page

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