TreeHasCompletedCollapsing method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Returns a Boolean value indicating whether a tree has just finished collapsing a node.

Syntax

object.TreeHasCompletedCollapsing( )

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

Remarks

A return value of:

  • TRUE indicates that the tree has just finished collapsing the node.
  • FALSE indicates that the tree did not finish collapsing the node successfully.

Example

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