Chapter Contents

Previous

Next
Organizational Chart: _isExpanded

Organizational Chart: _isExpanded



Reports whether a node's children are currently visible


Syntax
Example

Syntax

CALL NOTIFY (orgchart-name, '_isExpanded', node-id, status);

Argument Type Description
node-id
N specifies the numericidentifier of the node
status
N returns a value indicating whether the children are visible or hidden:


0 hidden


1 visible


Example

This example reports whether the children of a node are displayed:

ORG1:
   call notify ('org1', '_get_selected_',
                 widgetid, nodeid);
   if (nodeid = 0) then return;
   call notify ('org1', '_is_expanded_',
                 nodeid, expanded);
   if expanded then _msg_ = "The node's 
                            children are expanded";
return;


Chapter Contents

Previous

Next

Top of Page

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