Open/Close:All Method
Short Name: Open/Close.Open/Close All
Installed With: Full Development System
Class: TreeControl Methods
Expands or closes all nodes in the tree control.
Parameters
| Name | Required | Description |
|---|---|---|
| Open | No | If TRUE, the method expands all nodes. If FALSE, the method closes all nodes. |
Remarks
The following table lists the characteristics of this method.
| Available in Run-Time Engine and Real-Time Operating System | Yes (Read/Write) |
| Settable when the VI is running | Yes |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Loads the block diagram into memory | No |
| Remote access disallowed | No |
| Must wait until user interface is idle | No |
| Available with control VIs | No |
| Available with global VIs | No |
| Available with strict type definitions | No |
| Available with polymorphic VIs | No |
Example
Refer to the Directory Hierarchy in Tree Control VI in the labview\examples\general\controls\Tree Control Directory.llb for an example of using the Open/Close:All method.
