Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

selectednode

Format: selectednode( all )

Arguments: (bool) all Optional flag indicating if all selected nodes should be returned, false = primary node only, true = all selected nodes; default = false

Returns: (text) Name of the currently selected tree node(s) in the active tree or null if no node is selected

Description: Use this primitive to create custom menu entries in the Tools menu group that modify selected nodes.

The node returned by this primitive does not necessarily exist in cases where the user has highlighted an undefined node.

Examples: remove(selectednode) = deletes the selected node

eval(selectednode+":=nrand") = redefines the selected node

See Also: all, treelist, rootnode, endnodes, inputs, outputs

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend