Class TreeNode

Inheritance

TObject TreeNode 🡄 TObject

Properties

AbsoluteIndex The index based on the TreeView's Treenodes object (Items).
Count The number of children this node has.
Data Space to store 4 or 8 bytes depending on which version of CE is used.
Expanded Set to true if it has been expanded.
FIXME Same as Items
HasChildren Set to true if it has children, or you wish it to have an expand sign.
Index The index based on the parent.
Items [] Array to access the child nodes of this node.
Level The level this node is at.
MultiSelected Set to true if selected as well, but not the main selected object.
Parent The treenode this object is a child of.
Selected Set to true if currently selected.
Text The text of the treenode.

Methods

add ( text ) Returns a Treenode object that is a child of the treenode used to create it.
collapse ( recursive ) Collapses the given node.
delete ()
deleteChildren ()
expand ( recursive ) Expands the given node.
getNextSibling () Returns the treenode object that's behind this treenode on the same level.
makeVisible ()


Inheritance

TObject
TreeNode 🡄 TObject

Properties

AbsoluteIndex
The index based on the TreeView's Treenodes object (Items).

Type:

    integer
Count
The number of children this node has.

Type:

    integer
Data
Space to store 4 or 8 bytes depending on which version of CE is used.

Type:

    Pointer
Expanded
Set to true if it has been expanded.

Type:

    boolean
FIXME
Same as Items []
HasChildren
Set to true if it has children, or you wish it to have an expand sign.

Type:

    boolean
Index
The index based on the parent.

Type:

    integer
Items []
Array to access the child nodes of this node.

Type:

    array
Level
The level this node is at.

Type:

    integer
MultiSelected
Set to true if selected as well, but not the main selected object.

Type:

    boolean
Parent
The treenode this object is a child of. (can be nil) (ReadOnly).

Type:

Selected
Set to true if currently selected.

Type:

    boolean
Text
The text of the treenode.

Type:

Methods

add ( text )
Returns a Treenode object that is a child of the treenode used to create it.

Parameters:

Returns:

    TreeNode
collapse ( recursive )
Collapses the given node.

Parameters:

  • recursive boolean (default: true) (optional)
delete ()
deleteChildren ()
expand ( recursive )
Expands the given node.

Parameters:

  • recursive boolean (default: true) (optional)
getNextSibling ()
Returns the treenode object that's behind this treenode on the same level.

Returns:

    TreeNode
makeVisible ()
generated by LDoc 1.4.6-antum-dev-1 Last updated 2019-02-27 23:30:35