Chapter Contents |
Previous |
Next |
OLE: _update |
Inherited | from Widget |
Syntax | |
Details | |
Example |
Syntax |
CALL NOTIFY (OLE-object, '_update', <in-hservice>); |
Argument | Type | Description |
---|---|---|
in-hservice |
C | specifies the name of the HSERVICE entry to use to update the object |
Details |
The _update method re-creates an object and updates its contents based on its current attributes. The in-hservice parameter is used only with OLE objects and is the name of an HSERVICE catalog entry. When you specify the in-hservice parameter, the object specified by OLE-object is changed to the object stored in the HSERVICE entry referenced by the in-hservice parameter.
If you use the _update method without specifying in-hservice, the object's contents are updated with the current OLE object source. This is useful for manually updating a linked object.
Example |
In this example, the object stored in OBJ1 is replaced by the SASUSER.EXAMPLES.SOUND1.HSERVICE object:
call notify('obj1','_update_','sasuser.examples. sound1.hservice');
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.