Chapter Contents

Previous

Next
Organizational Chart: _setTitle

Organizational Chart: _setTitle



Assigns the text of the title node and, optionally, makes the title node the root of the tree


Syntax
Details
Example

Syntax

CALL NOTIFY (orgchart-name, '_setTitle', title<, is-root><, connect><, hide-it>);

Argument Type Description
title
C specifies the text of the title
is-root
C specifies whether the title node is the root of the tree:


'Y" is the tree root


'N' is not the tree root


If not given, retains the setting specified in the Attributes window.
connect
C if the value of is-root is 'Y', specifies whether to draw lines from the title node to each child:


'Y' draws lines


'N' does not draw lines


If omitted, connect retains its current setting.
hide-it
C specifies whether to hide or show the title:


'Y' shows title


'N' hides title


If omitted, retains its current setting.


Details

To remove the existing title, specify a missing value for title and omit is-root and connect.


Example

This example creates a title that is the root node of the tree:

call notify('org1','_set_title_',
            'SAS Institute','y');
call notify('org1','_repopulate_');

This statement supplies a null string for title and removes an existing title node:

call notify ('org1', '_set_title_', '');


Chapter Contents

Previous

Next

Top of Page

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