Show: Delphi
C++
Display Preferences
Vcl.ComCtrls.TCustomTreeView Declared Members
From XE2 API Documentation
Contents |
Constructors & Destructors
| Create | Creates an instance of a TTreeView control. |
| Destroy | Destroys the tree view control and is called by the Delete method. |
Events
| OnAddition | Occurs when new node is added. |
| OnAdvancedCustomDraw | Occurs at discrete stages during the painting of the tree view control. |
| OnAdvancedCustomDrawItem | Occurs at discrete stages during the painting of tree view nodes. |
| OnCancelEdit | Occurs when user cancels editing of a node's Caption. |
| OnChange | Occurs whenever the selection has changed from one node to another. |
| OnChanging | Occurs when the selection is about to change from one node to another. |
| OnCollapsed | Occurs after a node has been collapsed. |
| OnCollapsing | Occurs when a node is about to be collapsed. |
| OnCompare | Occurs when two nodes must be compared during a sort of the nodes in the tree view. |
| OnCreateNodeClass | OnCreateNodeClass occurs when a new node object is about to be created. |
| OnCustomDraw | Occurs immediately prior to painting the tree view control. |
| OnCustomDrawItem | Occurs immediately prior to painting a node in a tree view control. |
| OnDeletion | Occurs when a node in the tree view is deleted. |
| OnEdited | Occurs after the user edits the Text property of a node. |
| OnEditing | Occurs when the user starts to edit the Text property of a node. |
| OnExpanded | Occurs after a node is expanded. |
| OnExpanding | Occurs when a node is about to be expanded. |
| OnGetImageIndex | Occurs when the tree view looks up the ImageIndex of a node. |
| OnGetSelectedIndex | Occurs when the tree view looks up the SelectedIndex of a node. |
| OnHint | Occurs whenever a hint is about to be shown for a node. |
Functions
| Added | |
| AlphaSort | Sort tree nodes. |
| CanChange | Pending node change event dispatcher. |
| CanCollapse | Pending node collapse event dispatcher. |
| CanEdit | Node editing event dispatcher. |
| CanExpand | Node expand event dispatcher. |
| Change | Completed node change event dispatcher. |
| ClearSelection | Deselect all selected nodes, optionally excluding primary selection. |
| Collapse | Completed node collapse event dispatcher. |
| CreateNode | Creates a new TTreeNode instance with the TTreeNodes specified by Items as its Owner. |
| CreateNodes | |
| CreateParams | Initializes a window-creation parameter data structure. |
| CreateWnd | Creates the window used by the tree view component. |
| CustomDraw | Generates an OnCustomDraw or OnAdvancedCustomDraw event. |
| CustomDrawItem | Generates an OnCustomDrawItem or OnAdvancedCustomDrawItem event. |
| CustomSort | Sorts the nodes in the tree view into a customized sort order. |
| Delete | Generates an OnDeletion event. |
| Deselect | Deselects a specified node. |
| DestroyWnd | Destroys the control's window. |
| DoEndDrag | End drag event dispatcher. |
| DoEnter | |
| DoExit | |
| DoStartDrag | Drag start event dispatcher. |
| Edit | Edit event dispatcher. |
| Expand | Completed node expansion event dispatcher. |
| FindNextToSelect | Returns next selectable node. |
| FullCollapse | Collapses all the nodes within a tree view control. |
| FullExpand | Expands all nodes within the tree view control. |
| GetDragImages | Returns the image list to be displayed during drag operations. |
| GetHitTestInfoAt | Returns information about the location of a point relative to the client area of the tree view control. |
| GetImageIndex | Obtain image index. |
| GetNodeAt | Returns the node that is found at the specified position. |
| GetSelectedIndex | Obtain selection index. |
| GetSelections | Obtain selections list. |
| InvalidateSelectionsRects | |
| IsCustomDrawn | Specifies when the control should generate custom draw events. |
| IsEditing | Indicates whether a node is currently being edited by the user. |
| Loaded | Initializes the tree view after it is loaded from a stream. |
| LoadFromFile | Reads the file specified in FileName and loads the data into the tree view. |
| LoadFromStream | Reads tree view data from a stream and stores the contents in the tree view. |
| MouseDown | |
| Notification | |
| SaveToFile | Saves a tree view to the file specified in FileName. |
| SaveToStream | Writes the data in the tree view to the stream passed as the Stream parameter. |
| Select | Select specified nodes. |
| SetDragMode | Sets the drag mode for the tree view. |
| Subselect | Toggle node selection. |
| ValidateSelection | |
| WndProc | Provides specific message responses for the control. |
Properties
| AutoExpand | Specifies whether the nodes in the tree view automatically expand and collapse depending on the selection. |
| BorderStyle | Determines whether the tree view control has a border. |
| Canvas | Provides access to the canvas. |
| ChangeDelay | Specifies the delay between when a node is selected and when the OnChange event occurs. |
| CreateWndRestores | |
| DropTarget | Specifies which item in the tree view appears as the target of a drag and drop operation. |
| HideSelection | Determines whether a selected node appears selected when the focus shifts to another control. |
| HotTrack | Specifies whether list items are highlighted when the mouse passes over them. |
| Images | Determines which image list is associated with the tree view. |
| Indent | Specifies the amount of indentation in pixels when a list of child nodes is expanded. |
| Items | Lists the individual nodes that appear in the tree view control. |
| MultiSelect | Determines whether the user can select more than one tree node at a time. |
| MultiSelectStyle | Determines how multiple node selections work. |
| Reading | Returns whether the TCustomTreeView control is being read from. |
| ReadOnly | Determines whether the user can edit the node labels. |
| RightClickSelect | Determines whether the Selected property returns nodes that are selected using the right mouse button. |
| RowSelect | Specifies whether the entire row of the selected item is highlighted. |
| Selected | Specifies the selected node in the tree view. |
| SelectionCount | Returns number of nodes selected. |
| Selections | Returns nodes selected. |
| ShowButtons | Specifies whether to display plus (+) and minus (-) buttons to the left side of each parent item. |
| ShowLines | Specifies whether to display the lines that link child nodes to their corresponding parent nodes. |
| ShowRoot | Specifies whether lines connecting top-level nodes are displayed. |
| SortType | Determines if and how the nodes in a tree view are automatically sorted. |
| StateImages | Determines which image list to use for state images. |
| ToolTips | Specifies whether the items in the tree view have tool tips. |
| TopItem | Specifies the topmost node that appears in the tree view. |
Fields
| FChangeTimer |