Methods |
AddChildToLastAdded(theNode as pbsw_LBNode) [Public] |
|
Adds theNode as a child of the last item added
(will only work if the last added node is a container)
|
|
AddChildToLastAdded(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and adds it to the last added node
If isContainer is true, the new node will be a container node.
(will only work if the last added node is a container)
|
|
AddChildToNode(chosenNode as pbsw_LBNode, theNode as pbsw_LBNode) [Public] |
|
Adds theNode as a child node of chosenNode
(will only work if chosenNode is a container)
|
|
AddChildToNode(chosenNode as pbsw_LBNode, theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and adds it as a child of chosenNode
If isContainer is true, the new node will be a container node.
(will only work if chosenNode is a container)
|
|
AddChildToSelection(theNode as pbsw_LBNode) [Public] |
|
Adds theNode as a child of the selected node
(will only work if the selected node is a container)
|
|
AddChildToSelection(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and adds it to the selected node
If isContainer is true, the new node will be a container node.
(will only work if the selected node is a container)
|
|
AddSampleData() [Public] |
|
Adds a set of sample (demonstration) data to the list
|
|
Append(theNode as pbsw_LBNode) [Public] |
|
Appends theNode to the end of the list
|
|
Append(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and appends it to the end of the list
If isContainer is true, the new node will be a container node.
|
|
CollapseAll() [Public] |
|
Collapses all rows in the list
|
|
ExpandAll() [Public] |
|
Expands all rows in the list
|
|
GetDragReorderOption() as boolean [Public] |
|
Returns true if the list supports drag reordering of items
|
|
GetLastAddedNode() as pbsw_LBNode [Public] |
|
Returns the last node added to the list
|
|
GetNodeAtRow(theRow as integer) as pbsw_LBNode [Public] |
|
Returns the node currently at row number "theRow"
(only top level rows, and rows inside expanded rows are counted in row number)
(row 0 is the first visible row)
(if you modify any nodes directly, you need to call Rebuild() to update the listbox)
|
|
GetNodeRow(theNode as pbsw_LBNode) as integer [Public] |
|
Returns the row number of theNode
(only top level rows, and rows inside expanded rows are counted in row number)
(row 0 is the first visible row)
|
|
GetRoot() as pbsw_LBNode [Public] |
|
returns the node that is the root of the tree structure represented by the listbox
(if you modify any nodes directly, you need to call Rebuild() to update the listbox)
|
|
GetSelectedNode() as pbsw_LBNode [Public] |
|
Returns the currently selected node
(if you modify any nodes directly, you need to call Rebuild() to update the listbox)
|
|
Insert(row as integer, theNode as pbsw_LBNode, theDepth as integer = 0) [Public] |
|
Inserts theNode into the list above row numbered "row".
(only top level rows, and rows inside expanded rows are counted in row number)
(row 0 is the first visible row)
(the use of theDepth is not quite worked out completely yet)
|
|
Insert(row as integer, theName as string, theDepth as integer = 0, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it above row numbered "row"
If isContainer is true, the new node will be a container node.
(only top level rows, and rows inside expanded rows are counted in row number)
(row 0 is the first visible row)
(the use of theDepth is not quite worked out completely yet)
|
|
InsertAfter(chosenNode as pbsw_LBNode, theNode as pbsw_LBNode) [Public] |
|
Inserts theNode after chosenNode
|
|
InsertAfter(chosenNode as pbsw_LBNode, theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it after chosenNode
If isContainer is true, the new node will be a container node.
|
|
InsertAfterLastAdded(theNode as pbsw_LBNode) [Public] |
|
Inserts theNode after the last added node
|
|
InsertAfterLastAdded(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it after the last added node
If isContainer is true, the new node will be a container node.
|
|
InsertAfterSelection(theNode as pbsw_LBNode) [Public] |
|
Inserts theNode after the selected node
|
|
InsertAfterSelection(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it after the selected node
If isContainer is true, the new node will be a container node.
|
|
InsertBefore(chosenNode as pbsw_LBNode, theNode as pbsw_LBNode) [Public] |
|
Inserts theNode before chosenNode
|
|
InsertBefore(chosenNode as pbsw_LBNode, theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it before chosenNode
If isContainer is true, the new node will be a container node.
|
|
InsertBeforeLastAdded(theNode as pbsw_LBNode) [Public] |
|
Inserts theNode before the last added node
|
|
InsertBeforeLastAdded(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it before the last added node
If isContainer is true, the new node will be a container node.
|
|
InsertBeforeSelection(theNode as pbsw_LBNode) [Public] |
|
Inserts theNode before the selected node
|
|
InsertBeforeSelection(theName as string, isContainer as boolean = false) [Public] |
|
Creates a new node named "theName" and inserts it before the selected node
If isContainer is true, the new node will be a container node.
|
|
ParentOf(theNode as pbsw_LBNode) as pbsw_LBNode [Public] |
|
Returns the parent node of theNode
(if you modify any nodes directly, you need to call Rebuild() to update the listbox)
|
|
Rebuild(doRefresh as boolean = true) [Public] |
|
Rebuilds the ListBox from the tree structure (starting at the root node)
If doRefresh is true, the ListBox will be refreshed
(if you modify any nodes directly, you need to call Rebuild() to update the listbox)
|
|
RemoveAllNodes() [Public] |
|
Removes all the nodes/rows
|
|
RemoveLastAddedNode() [Public] |
|
Removes the last added node
|
|
RemoveSelected() [Public] |
|
Removes the selected node from the list
|
|
SelectNode(theNode as pbsw_LBNode) [Public] |
|
Select theNode (highlight it visually in the list)
|
|
SetDragReorderOption(doDragReorder as boolean) [Public] |
|
If doDragReorder is true, the drag reordering feature is turned on, otherwise it is turned off.
(You can also set the EnableDragReorder property in the IDE for your list)
(This function is a means to change that option at runtime)
|
|
SetRoot(theNode as pbsw_LBNode) [Public] |
|
Sets theNode as the root (starting) node for the tree structure of the list, and rebuilds the list
(if you modify any nodes directly, you need to call Rebuild() to update the listbox)
|
|