[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TTreeView is a control that displays a hierarchical list of items
Source position: comctrls.pp line 2443
type TTreeView = class(TCustomTreeView) |
||
published |
||
property Align; |
|
Used to align the control in one of four directions. |
property Anchors; |
|
The set of anchor definitions for this control |
property AutoExpand; |
|
AutoExpand - automatically expand the tree when an item is selected |
property BorderSpacing; |
|
Determines the border spacing for this control |
property BackgroundColor; |
|
BackgroundColor for the treeview |
property BorderStyle; |
|
BorderStyle - none, or single |
property BorderWidth; |
|
Property to determine width of the window's border |
property Color; |
|
Determine the colour for the current control |
property Ctl3D; |
|
Ctl3D - retained for Delphi compatibility; even there it is deprecated |
property Constraints; |
|
Determine Constraints (max and min height and width) for this control |
property DefaultItemHeight; |
|
DefaultItemHeight - default height for items on the list |
property DragKind; |
|
DragKind - what sort of dragging? Drag or Dock |
property DragCursor; |
|
DragCursor - the style of cursor to be used during the Drag process |
property DragMode; |
|
DragMode - whether manual or automatic |
property Enabled; |
|
Whether the control is Enabled. If not, it usually appears 'greyed-out' |
property ExpandSignType; |
|
ExpandSignType - the symbols to denote whether a list is expanded or collapsed; default is plus or minus |
property Font; |
|
The Font to be used for text in this control |
property HideSelection; |
|
HideSelection - the selected items are to be hidden |
property HotTrack; |
|
|
property Images; |
|
The Bitmap image associated with each item in the display |
property Indent; |
|
Indent - the amount by which each successive branching level is to be indented |
property ParentColor; |
|
ParentColor - should the control have the same colour as the parent? Default is true |
property ParentCtl3D; |
|
ParentCtl3D - does it inherit Ctl3D properties from parents? (Deprecated) |
property ParentFont; |
|
ParentFont - should the control use the same font as the parent? Default is true |
property ParentShowHint; |
|
ParentShowHint - does the control adopt the same hinting behaviour as its parent? Default is true |
property PopupMenu; |
|
PopupMenu - a context-sensitive menu that pops up when the right mouse button is clicked over this control |
property ReadOnly; |
|
ReadOnly - the view can only be viewed, not written or modified |
property RightClickSelect; |
|
RightClickSelect - a right-click with the mouse automatically selects the item |
property RowSelect; |
|
RowSelect - select a row |
property ScrollBars; |
|
ScrollBars - the style of scroll bars for the treeview display |
property SelectionColor; |
|
SelectionColor - the colour to be used for the selected nodes, to distinguish them from the others |
property ShowButtons; |
|
ShowButtons - show the toolbuttons on the treeview |
property ShowHint; |
|
Flag to determine: Is hint to be displayed for this control? |
property ShowLines; |
|
ShowLines - show the connecting lines of the tree structure |
property ShowRoot; |
|
ShowRoot - show the root element of the tree |
property SortType; |
|
SortType - the type of sorting to be performed |
property StateImages; |
|
StateImages - the images used to depict the state of the tree (expanded or collapsed?) |
property TabOrder; |
|
The place this control occupies in the list of tabs |
property TabStop; |
|
Is the control in the sequence of controls accessed by successive presses of the Tab key? |
property Tag; |
|
|
property ToolTips; |
|
ToolTips - the popup hints that appear as the mouse hovers over an item |
property Visible; |
|
Visible - can the control be seen? |
property OnAdvancedCustomDraw; |
|
|
property OnAdvancedCustomDrawItem; |
|
|
property OnChange; |
|
OnChange - event handler for a change in the data |
property OnChanging; |
|
OnChanging - event handler for use during a change in the data |
property OnClick; |
|
Event Handler for mouse click |
property OnCollapsed; |
|
OnCollapsed - event handler when the tree is collapsed |
property OnCollapsing; |
|
OnCollapsing - event handler for use during the collapsing process |
property OnCompare; |
|
OnCompare - event handler for comparing entries |
property OnContextPopup; |
|
Event handler to supply information when a context-sensitive pop-up menu is required |
property OnCustomCreateItem; |
|
|
property OnCustomDraw; |
|
|
property OnCustomDrawItem; |
|
|
property OnDblClick; |
|
Event Handle for mouse double-click |
property OnDeletion; |
|
OnDeletion - event handler for deletion of an item |
property OnDragDrop; |
|
Event handler for the Drag-Drop manoeuvre |
property OnDragOver; |
|
Event handler for the case when a control is dragged over another control |
property OnEdited; |
|
OnEdited - event handler when an item has been edited |
property OnEditing; |
|
OnEditing - event handler during the editing process |
property OnEndDrag; |
|
Event handler for the end of a dragging process |
property OnEnter; |
|
OnEnter - event handler for when the mouse enters the control, and the control receives focus |
property OnExit; |
|
OnExit - event handler for when the mouse leaves the control and it loses focus |
property OnExpanded; |
|
OnExpanded - event handler when the tree has been expanded |
property OnExpanding; |
|
OnExpanding - event handler while the tree is expanding |
property OnGetImageIndex; |
|
OnGetImageIndex - event handler for finding the index of an image |
property OnGetSelectedIndex; |
|
OnGetSelectedIndex - event handler for finding the index of a selected item |
property OnKeyDown; |
|
OnKeyDown - event handler for instance when key is down while control has focus |
property OnKeyPress; |
|
OnKeyPress - event controller for a key being pressed while the control has focus. To properly handle national chars use UTF8KeyPress instead. |
property OnKeyUp; |
|
OnKeyUp - event handler for instance when a key is up (not pressed) while the control has focus |
property OnMouseDown; |
|
Event handler for when a mouse button is pressed down |
property OnMouseMove; |
|
Event handler for mouse movement within the current control |
property OnMouseUp; |
|
Event handler for when the mouse button is released, ie "up" |
property OnSelectionChanged; |
|
OnSelectionChanged - event handler for a change in the items selected |
property OnShowHint; |
|
Event Handler when a hint needs to be shown |
property OnStartDrag; |
|
Event handler for start of dragging process |
property OnUTF8KeyPress; |
||
property Options; |
|
The set of Options for displaying the tree view |
property Items; |
|
The Items to be displayed in the tree view - ie the actual data |
property TreeLineColor; |
|
TreeLineColor - the colour to be used for the lines showing the tree structure |
property ExpandSignColor; |
|
ExpandSignColor - the colour to be used for the expand/collapse symbols |
end; |
|
TTreeView is a control that displays a hierarchical list of items |
|
| | ||
|
TCustomTreeView - ancestor class for TTreeView |
|
| | ||
TCustomControl |
||
? | ||
TObject |
Use a TTreeView to display a hierarchical list of items. Items are shown by their caption and an optional bitmap.
|
How to use StdCtrls, ComCtrls or ExtCtrls |
|
|
TCustomTreeView - ancestor class for TTreeView |
lazarus-ccr.sourceforge.net |