![]() Chapter Contents |
![]() Previous |
![]() Next |
| Text Viewer: _attach |
| Syntax | |
| Example |
Syntax |
| CALL NOTIFY (viewer-name, '_attach', model-id); |
| Argument | Type | Description |
|---|---|---|
| model-id |
C | specifies the model identifier (object list) of the new model |
| Example |
This example attaches a new instance of the external file model to the viewer:
/* load the external file model class */
classid = loadclass('sashelp.fsp.
exfilede.class');
/* create an instance of the external
file model class */
call send(classid, '_new_', objid);
/* set the file name of the model */
call send(objid, '_set_file_', 'newfile', 'n');
/* attach the model instance to the viewer */
call notify('textview', '_attach_', objid);
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.