TreeSetExpandNodeCountCap method (WinStudio scripts)

Applies To

IWSFormComponent interface, tree objects

Definition

Sets the maximum number of nodes to expand, restricting the number of child nodes to be expanded programmatically.

Syntax

object.TreeSetExpandNodeCountCap( integer )

Part Description
object Required. A reference to a valid tree component object.
integer Required. The maximum number of child nodes allowed to expand programmatically.

Example

ThisForm.Components("tree1").TreeSetExpandNodeCountCap(10)
ThisForm.Components("tree1").TreeExpandSelectedNodes(2)