TreeHasCompletedExpanding method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

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

Syntax

object.TreeHasCompletedExpanding( )

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

Remarks

A return value of:

  • TRUE indicates that the node has finished expanding.
  • FALSE indicates that the node did not expand successfully.

Example

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