TreeIsCollapsing method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Returns a Boolean value indicating whether a tree is ready to collapse a node.

Syntax

object.TreeIsCollapsing( )

  Part   Description
object Required. A reference to a valid tree component object.

Remarks

A return value of:

  • TRUE indicates that the tree is ready to collapse the node.
  • FALSE indicates that the tree is not ready to collapse the node.

Example

Dim treeNodeXml As String = String.Empty
If (ThisForm.Components("tree1").TreeIsCollapsing()) Then
   treeNodeXml = ThisForm.Components("tree1").TreeCollapsingNodeToXml()
End If