Lua:Class:Treeview

From Cheat Engine
Jump to navigation Jump to search

Treeview Class: (Inheritance: CustomControl > WinControl > Control > Component > Object)

WARNING: This page may be incomplete.

Description

A control that displays nodes in a hierarchical view.

Creation

createTreeView(owner) : Treeview
Creates a new Treeview object.

Properties

Items : TreeNodes
The Treenodes object of the treeview (ReadOnly).
Selected : TreeNode
The currently selected treenode.

Methods

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.

See also

Related Classes