|
|
|
|
|
|
Category: TreeView functions |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adds a "leaf" element (and all necessary nodes) into a TreeView control. |
|
|
|
|
|
|
Collapses a branch previously expanded. |
|
|
|
|
|
|
Collapses a branch previously expanded (as well as its child elements). |
|
|
|
|
|
|
Copies an element (leaf or node) into a TreeView control. |
|
|
|
|
|
|
Deletes an element and all its "children" from a TreeView control. |
|
|
|
|
|
|
Deletes all elements from a TreeView control. |
|
|
|
|
|
|
Deletes the children of an element from a TreeView control without deleting the element itself.
|
|
|
|
|
|
|
Refreshes a TreeView control from a given position. |
|
|
|
|
|
|
Expands a node in a TreeView control. |
|
|
|
|
|
|
Expands a node and all its child elements in a TreeView control. |
|
|
|
|
|
|
Finds an element (leaf or node) in a TreeView control and returns its path. |
|
|
|
|
|
|
Returns the "children" of an element found in a TreeView control. |
|
|
|
|
|
|
Returns the identifier associated with an element (node or leaf) in a TreeView control. |
|
|
|
|
|
|
Returns the TreeView element found at a given position. |
|
|
|
|
|
|
Inserts a leaf into a TreeView control at a specific position. |
|
|
|
|
|
|
Returns the state of a node: wound, unwound or non-existent. |
|
|
|
|
|
|
Lists the "children" of a node and the "child" elements of these "children" in a TreeView control. |
|
|
|
|
|
|
Modifies an element (node or leaf) in a TreeView control. |
|
|
|
|
|
|
Moves an element (leaf or node) in a TreeView control. |
|
|
|
|
|
|
Displays a TreeView control from a specified element (node or leaf) or returns the name of the first element displayed in a TreeView control. |
|
|
|
|
|
|
Returns the full path of the selected element in a TreeView control. |
|
|
|
|
|
|
Returns the number of selected elements in a TreeView control (for a multi-selection TreeView control). |
|
|
|
|
|
|
Deselects an element in a TreeView control.
|
|
|
|
|
|
|
Selects an element in a TreeView control. |
|
|
|
|
|
|
Sorts the elements found in a TreeView control. |
|
|
|
|
|
|
Checks the existence of an element in a TreeView control and returns its type (node or leaf) if the element exists. |
|
|
|
|
|
|
The following functions are used to manage TreeView controls (prefix syntax):
|
|
|
|
|
|
|
Procedure ("Callback") called by TreeListItem for each "child" element found. This procedure can be a local, global or internal procedure. |
|
|
|
|
|
|
Adds a "leaf" element (and all necessary nodes) into a TreeView control. |
|
|
|
|
|
|
Collapses a branch previously expanded. |
|
|
|
|
|
|
Collapses a branch previously expanded (as well as its child elements). |
|
|
|
|
|
|
Copies an element (leaf or node) into a TreeView control. |
|
|
|
|
|
|
Returns the number of elements found in a branch of a TreeView control. |
|
|
|
|
|
|
Deletes an element and all its "children" from a TreeView control. |
|
|
|
|
|
|
Deletes all elements from a TreeView control. |
|
|
|
|
|
|
Deletes the children of an element from a TreeView control without deleting the element itself.
|
|
|
|
|
|
|
Refreshes a TreeView control from a given position. |
|
|
|
|
|
|
Expands a node in a TreeView control. |
|
|
|
|
|
|
Expands a node and all its child elements in a TreeView control. |
|
|
|
|
|
|
Finds an element (leaf or node) in a TreeView control and returns its path. |
|
|
|
|
|
|
Returns the index of an element (node or leaf) in a TreeView control. |
|
|
|
|
|
|
Returns the "children" of an element found in a TreeView control. |
|
|
|
|
|
|
Used to build the path of the elements found in a TreeView control by differentiating the duplicates. |
|
|
|
|
|
|
Returns the identifier associated with an element (node or leaf) in a TreeView control. |
|
|
|
|
|
|
Returns the TreeView element found at a given position. |
|
|
|
|
|
|
Inserts a leaf into a TreeView control at a specific position. |
|
|
|
|
|
|
Usage example of the TreeListItem function |
|
|
|
|
|
|
Lists the "children" of a node and the "child" elements of these "children" in a TreeView control. |
|
|
|
|
|
|
Modifies an element (node or leaf) in a TreeView control. |
|
|
|
|
|
|
Moves an element (leaf or node) in a TreeView control. |
|
|
|
|
|
|
Displays a TreeView control from a specified element (node or leaf) or returns the name of the first element displayed in a TreeView control. |
|
|
|
|
|
|
Returns the full path of the selected element in a TreeView control. |
|
|
|
|
|
|
Returns the number of selected elements in a TreeView control (for a multi-selection TreeView control). |
|
|
|
|
|
|
Deselects an element in a TreeView control.
|
|
|
|
|
|
|
Selects an element in a TreeView control. |
|
|
|
|
|
|
Sorts the elements found in a TreeView control. |
|
|
|
|
|
|
Returns the state of a node: wound, unwound or non-existent. |
|
|
|
|
|
|
Checks the existence of an element in a TreeView control and returns its type (node or leaf) if the element exists. |
|
|
|
|
|
|
List of constants used by the TreeXXX functions |
|
|
|
|
|
|
The following functions are used to manage TreeView controls:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|