WinStudio
IWSFormComponent interface, tree objects
Sets the maximum number of nodes to expand, restricting the number of child nodes to be expanded programmatically.
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. |
ThisForm.Components("tree1").TreeSetExpandNodeCountCap(10) ThisForm.Components("tree1").TreeExpandSelectedNodes(2)