Show: Delphi C++
Display Preferences

Vcl.ComCtrls.TCustomTreeView Declared Members

From XE2 API Documentation
Jump to: navigation, search



Contents

Constructors & Destructors

CreateCreates an instance of a TTreeView control.
DestroyDestroys the tree view control and is called by the Delete method.

Events

OnAdditionOccurs when new node is added.
OnAdvancedCustomDrawOccurs at discrete stages during the painting of the tree view control.
OnAdvancedCustomDrawItemOccurs at discrete stages during the painting of tree view nodes.
OnCancelEditOccurs when user cancels editing of a node's Caption.
OnChangeOccurs whenever the selection has changed from one node to another.
OnChangingOccurs when the selection is about to change from one node to another.
OnCollapsedOccurs after a node has been collapsed.
OnCollapsingOccurs when a node is about to be collapsed.
OnCompareOccurs when two nodes must be compared during a sort of the nodes in the tree view.
OnCreateNodeClassOnCreateNodeClass occurs when a new node object is about to be created.
OnCustomDrawOccurs immediately prior to painting the tree view control.
OnCustomDrawItemOccurs immediately prior to painting a node in a tree view control.
OnDeletionOccurs when a node in the tree view is deleted.
OnEditedOccurs after the user edits the Text property of a node.
OnEditingOccurs when the user starts to edit the Text property of a node.
OnExpandedOccurs after a node is expanded.
OnExpandingOccurs when a node is about to be expanded.
OnGetImageIndexOccurs when the tree view looks up the ImageIndex of a node.
OnGetSelectedIndexOccurs when the tree view looks up the SelectedIndex of a node.
OnHintOccurs whenever a hint is about to be shown for a node.

Functions

Added
AlphaSortSort tree nodes.
CanChangePending node change event dispatcher.
CanCollapsePending node collapse event dispatcher.
CanEditNode editing event dispatcher.
CanExpandNode expand event dispatcher.
ChangeCompleted node change event dispatcher.
ClearSelectionDeselect all selected nodes, optionally excluding primary selection.
CollapseCompleted node collapse event dispatcher.
CreateNodeCreates a new TTreeNode instance with the TTreeNodes specified by Items as its Owner.
CreateNodes
CreateParamsInitializes a window-creation parameter data structure.
CreateWndCreates the window used by the tree view component.
CustomDrawGenerates an OnCustomDraw or OnAdvancedCustomDraw event.
CustomDrawItemGenerates an OnCustomDrawItem or OnAdvancedCustomDrawItem event.
CustomSortSorts the nodes in the tree view into a customized sort order.
DeleteGenerates an OnDeletion event.
DeselectDeselects a specified node.
DestroyWndDestroys the control's window.
DoEndDragEnd drag event dispatcher.
DoEnter
DoExit
DoStartDragDrag start event dispatcher.
EditEdit event dispatcher.
ExpandCompleted node expansion event dispatcher.
FindNextToSelectReturns next selectable node.
FullCollapseCollapses all the nodes within a tree view control.
FullExpandExpands all nodes within the tree view control.
GetDragImagesReturns the image list to be displayed during drag operations.
GetHitTestInfoAtReturns information about the location of a point relative to the client area of the tree view control.
GetImageIndexObtain image index.
GetNodeAtReturns the node that is found at the specified position.
GetSelectedIndexObtain selection index.
GetSelectionsObtain selections list.
InvalidateSelectionsRects
IsCustomDrawnSpecifies when the control should generate custom draw events.
IsEditingIndicates whether a node is currently being edited by the user.
LoadedInitializes the tree view after it is loaded from a stream.
LoadFromFileReads the file specified in FileName and loads the data into the tree view.
LoadFromStreamReads tree view data from a stream and stores the contents in the tree view.
MouseDown
Notification
SaveToFileSaves a tree view to the file specified in FileName.
SaveToStreamWrites the data in the tree view to the stream passed as the Stream parameter.
SelectSelect specified nodes.
SetDragModeSets the drag mode for the tree view.
SubselectToggle node selection.
ValidateSelection
WndProcProvides specific message responses for the control.

Properties

AutoExpandSpecifies whether the nodes in the tree view automatically expand and collapse depending on the selection.
BorderStyleDetermines whether the tree view control has a border.
CanvasProvides access to the canvas.
ChangeDelaySpecifies the delay between when a node is selected and when the OnChange event occurs.
CreateWndRestores
DropTargetSpecifies which item in the tree view appears as the target of a drag and drop operation.
HideSelectionDetermines whether a selected node appears selected when the focus shifts to another control.
HotTrackSpecifies whether list items are highlighted when the mouse passes over them.
ImagesDetermines which image list is associated with the tree view.
IndentSpecifies the amount of indentation in pixels when a list of child nodes is expanded.
ItemsLists the individual nodes that appear in the tree view control.
MultiSelectDetermines whether the user can select more than one tree node at a time.
MultiSelectStyleDetermines how multiple node selections work.
ReadingReturns whether the TCustomTreeView control is being read from.
ReadOnlyDetermines whether the user can edit the node labels.
RightClickSelectDetermines whether the Selected property returns nodes that are selected using the right mouse button.
RowSelectSpecifies whether the entire row of the selected item is highlighted.
SelectedSpecifies the selected node in the tree view.
SelectionCountReturns number of nodes selected.
SelectionsReturns nodes selected.
ShowButtonsSpecifies whether to display plus (+) and minus (-) buttons to the left side of each parent item.
ShowLinesSpecifies whether to display the lines that link child nodes to their corresponding parent nodes.
ShowRootSpecifies whether lines connecting top-level nodes are displayed.
SortTypeDetermines if and how the nodes in a tree view are automatically sorted.
StateImagesDetermines which image list to use for state images.
ToolTipsSpecifies whether the items in the tree view have tool tips.
TopItemSpecifies the topmost node that appears in the tree view.

Fields

FChangeTimer


Personal tools
Previous Versions
Translations