TreeView_IsParentNode()

Examples


The TreeView_IsParentNode() function indicates whether a specific node in a tree view field is a parent node.

Syntax

TreeView_IsParentNode(tree_view_field, node_ID)

Parameters

tree_view_field – The tree view field containing the node.

node_ID – A long integer specifying the ID of the node whose status will be determined.

Return value

A long integer corresponding to one of the following constants:

[spacer]

Constant

Description

TV_NODE_NONPARENT

The node is not a parent.

TV_NODE_PARENT_COLLAPSED

The node is a parent and is in the collapsed state.

TV_NODE_PARENT_EXPANDED

The node is a parent and is in the expanded state.



Documentation Feedback