TCustomTreeViewEx -
TTreeViewEx -
TIgnoreWMChars
TTreeViewExOption
TTreeViewExOptions
TTreeViewExState
TTreeViewExStates
TTVDeletingEvent
TTVDraggingEvent
TTVDragImageShow
stveDefaultDeleteQuestion
TIgnoreWMChars = set of AnsiChar
TTreeViewExOption = (
tveAllowDelete, tveAllowInsert, tveAutoDragMove, tveConfirmDelete,
tveInsertAsChild, tveLabelsReadOnly, tveMouseMoveSelect,
tveMultipleRootsAllowed, tveRootItemReadOnly);
TTreeViewExOptions = set of TTreeViewExOption
TTreeViewExState = (
tvesIgnoreNextWMChar, tvesMouseStillDownAfterDoubleClick,
tvesRightButtonPressed, tvesWaitingForPopupMenu);
TTreeViewExStates = set of TTreeViewExState
TTVDeletingEvent =
procedure(Sender: TObject; Node: TTreeNode;
var AllowDelete: Boolean) of object
TTVDraggingEvent =
procedure(Sender: TObject; Node: TTreeNode;
var AllowDrag: Boolean) of object
TTVDragImageShow = (tvdisDefault, tvdisAlways, tvdisNever);
Options:
tveAllowDelete:
The user can delete items by pressing the key.
tveAllowInsert:
If tveAllowInsert is true, a new item gets created and inserted if
the user presses the key.
tveAutoDragMove:
The user can move items by dragging them in the DBTreeView.
tveConfirmDelete:
The user get asked if he really want to delete the current record
after he pressed the Del-key. If the current node has children, the
user get asked for each of them.
tveInsertAsChild:
The new item that is created by pressing the insert key gets
inserted after the selected node if tveInsertAsChild is false or
it gets inserted as a child of the selected node if tveInsertAsChild
is true.
tveLabelsReadOnly:
The user cannot edit the lables of the nodes. Please do not use this
option together with tveAllowInsert - the user could insert only
empty nodes then.
tveMouseMoveSelect:
If the user moves the mouse, the nearest node gets selected.
If the user moves the mouse to the upper or lower border of the
TreeView while left button pressed, the TreeView will scroll.
This scrolling happens anyway if the user drags a node.
The option tveMouseMoveSelect makes sense if the TreeView is shown
in a dropdown-panel.
tveMultipleRootsAllowed:
If true, the user can insert more than one root and drag a child
to the root position.
tveRootItemReadOnly:
To set the root of the tree to read-only.
stveDefaultDeleteQuestion : string = 'Delete item ?'