TreeIsExpanding method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

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

Syntax

object.TreeIsExpanding( )

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

Remarks

A return value of:

  • TRUE indicates that the node is ready to expand.
  • FALSE indicates that the node is not ready for expansion.

Example

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