Lua:Class:Treeview
Revision as of 15:25, 14 February 2019 by AntumDeluge (talk | contribs) (Create page for Treeview class)
Treeview Class: (Inheritance: CustomControl > WinControl > Control > Component > Object)
WARNING: This page may be incomplete.
Description[edit]
A control that displays nodes in a hierarchical view.
Creation[edit]
- createTreeView(owner) : Treeview
- Creates a new Treeview object.
Properties[edit]
- Items : TreeNodes
- The Treenodes object of the treeview (ReadOnly).
- Selected : TreeNode
- The currently selected treenode.
Methods[edit]
- beginUpdate()
- endUpdate()
- getItems()
- getSelected()
- setSelected()
- fullCollapse()
- Collapses all the nodes, including the children's nodes.
- fullExpand()
- Expands all the nodes and all their children.
- saveToFile(filename)
- Saves the contents of the treeview to disk.