Public Member Functions |
|
FBTree () | |
Constructor. |
|
Clear () | |
Clear the tree (remove all nodes). |
|
FBTreeNode | GetRoot () |
Get the root node. |
|
FBTreeNode | InsertLast (FBTreeNode pNode, str pName) |
Insert node at the end. |
|
Public Attributes |
|
bool | AllowCollapse |
Read Write Property: When
OnCollapsing occurs, set this to true to allow collapse. |
|
bool | AllowExpansion |
Read Write Property: When OnExpanding
occurs, set this to true to allow expansion. |
|
bool | AutoExpandOnDblClick |
Read Write Property: Allow automatic
expand on double click, default is false. |
|
bool | AutoExpandOnDragOver |
Read Write Property: Allow automatic
expand on drag over, default is false. |
|
bool | AutoScroll |
Read Write Property: If AutoScroll
property is True then the tree window will be automatically
scrolled when the user drags item(s) over the boundaries of the
tree. |
|
bool | AutoScrollOnExpand |
Read Write Property: Allow automatic
scroll on expand, default is true. |
|
bool | CheckBoxes |
Read Write Property: Draw check boxe
for each node. |
|
bool | DeselectOnCollapse |
Read Write Property: Tells whether
node are deselected if parent node is collapsed. |
|
bool | EditNodeOn2Select |
Read Write Property: Set to true, to
allow automatic node editing on second select. |
|
bool | HighlightOnRightClick |
Read Write Property: Hightlight node
on right click. |
|
int | Indent |
Read Write Property: Use Indent to
determine how far child nodes are indented from their parent nodes
when the parent is expanded. |
|
int | ItemHeight |
Read Write Property: Height of an
item. |
|
bool | MultiDrag |
Read Write Property: Tells whether
multiple drag/drop is allowed or not. |
|
bool | MultiSelect |
Read Write Property: Tells whether
multiple selection is allowed or not. |
|
bool | NoSelectOnDrag |
Read Write Property: Tells whether
node are selected if drag is start and node is not already
selected. |
|
bool | NoSelectOnRightClick |
Read Write Property: Tells whether
node are selected if right click on node. |
|
FBEvent | OnChange |
Event: Change of the selection.
|
|
FBEvent | OnClick |
Event: Click on a node of the tree.
|
|
FBEvent | OnCollapsed |
Event: Click on the "-" sign before a
non-leaf node. |
|
FBEvent | OnCollapsing |
Event: Fired before the node
collapse. To refuse collapsing, set AllowCollapse to false.
|
|
FBEvent | OnDblClick |
Event: Double-Click on a node of the
tree. |
|
FBEvent | OnDragAndDrop |
Event: Drag and drop of an element.
|
|
FBEvent | OnExpanded |
Event: Click on the "+" sign before a
non-leaf node |
|
FBEvent | OnExpanding |
Event: Is fired before the node
expand. To refuse expanding set AllowExpansion to false. |
|
FBEvent | OnSelect |
Event: A node was selected. |
|
int | SelectedCount |
Read Only Property: Count of selected
items. |
|
bool | SelectionActive |
Read Write Property: Tells whether
selection is allowed or not. |
|
bool | ShowLines |
Read Write Property: On node
selection, will draw entire line selected |
|
int | TreeHeight |
Read Only Property: Height of the
tree. |
|
int | TreeWidth |
Read Only Property: Width of the
tree. |
|
int | VisibleItemCount |
Read Only Property: Count of visible
items. |
FBTree | ( | ) |
Constructor.
Clear | ( | ) |
Clear the tree (remove all nodes).
FBTreeNode GetRoot | ( | ) |
Get the root node.
FBTreeNode InsertLast | ( | FBTreeNode | pNode, | |
str | pName | |||
) |
Insert node at the end.
pNode | Node under which the new node will appear. | |
pName | Text to display for this node. |
Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.
Read Write Property: When OnExpanding occurs, set this to true to allow expansion.
Read Write Property: Allow automatic expand on double click, default is false.
Read Write Property: Allow automatic expand on drag over, default is false.
Read Write Property: If AutoScroll property is True then the tree window will be automatically scrolled when the user drags item(s) over the boundaries of the tree.
Read Write Property: Allow automatic scroll on expand, default is true.
Read Write Property: Draw check boxe for each node.
Read Write Property: Tells whether node are deselected if parent node is collapsed.
Read Write Property: Set to true, to allow automatic node editing on second select.
Read Write Property: Hightlight node on right click.
Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes when the parent is expanded.
Read Write Property: Height of an item.
Read Write Property: Tells whether multiple selection is allowed or not.
Read Write Property: Tells whether node are selected if drag is start and node is not already selected.
Read Write Property: Tells whether node are selected if right click on node.
Event: Click on the "-" sign before a non-leaf node.
Event: Fired before the node collapse. To refuse collapsing, set AllowCollapse to false.
Event: Double-Click on a node of the tree.
Event: Drag and drop of an element.
Event: Click on the "+" sign before a non-leaf node
Event: Is fired before the node expand. To refuse expanding set AllowExpansion to false.
Read Only Property: Count of selected items.
Read Write Property: Tells whether selection is allowed or not.
Read Only Property: Height of the tree.
Read Only Property: Count of visible items.