Chapter Contents

Previous

Next
Widget Class: _needRefresh

Widget Class: _needRefresh



Marks a widget for a later refresh operation


Syntax
Details

Syntax

objectName._needRefresh( );


Details

If you write new methods for a Widget subclass, your methods may alter widgets such that they are not marked for refresh. For example, your new methods may change the value a widget displays. In this case, if you want the widget to be refreshed when the Frame is refreshed, invoke the _needRefresh method from your method.

Example

The following example marks the widget named stickerPrice to be refreshed and then calls the Frame entry's _refresh method. This causes the Frame to execute the _refresh method on the widget stickerPrice.

Note:   The _needRefresh method itself does not execute stickerPrice's _refresh method.  [cautionend]

stickerPrice._needRefresh();
_frame_._refresh();

See _refresh in this class for another example of using the _needRefresh method.


Chapter Contents

Previous

Next

Top of Page

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