![]() Chapter Contents |
![]() Previous |
![]() Next |
| Organizational Chart: _getCurrent |
| Syntax | |
| Example |
Syntax |
| CALL NOTIFY (orgchart-name, '_getCurrent', node-id, list-of-names, list-id); |
| Argument | Type | Description |
|---|---|---|
| node-id |
N | specifies the numeric identifier of the node |
| list-of-names |
C | specifies a single, quoted text string containing the names of the node variables whose values are to be returned in list-id. Separate multiple node variable names with a space. Specify 'ALL' to return the value of all variables. |
| list-id |
N | returns the identifier of an SCL list containing the values of items specified in list-of-names |
| Example |
In the following example, MYLIST contains a list of the displayed text and the node's image name. Assume this code is a method specified in the Select Action window:
GET: METHOD;
call send (_self_, '_get_owner_', orgid);
nodeid=getnitemn (_self_, '_nodeid_');
call send (orgid, '_get_current_', nodeid,
'text type', mylist);
text=getnitemc (mylist, 'text');
endmethod;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.