[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ShellCtrls' (#lcl)

TShellTreeView

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The main class for tree view control to display the files, directories and other objects (such as devices) from the file system structure

Declaration

Source position: shellctrls.pas line 97

type TShellTreeView = class(TCustomShellTreeView)

published

  property Align;

  

Specifies the placement of the control inside its Parent.

  property Anchors;

  

The set of anchor definitions for this control.

  property AutoExpand;

  

AutoExpand - if True, the tree structure is automatically expanded when a node is selected

  property BorderSpacing;

  

Determines the inner and outer border spacing for this control.

  property BackgroundColor;

  

BackgroundColor for the treeview

  property BorderStyle;

  

Allows to show a border (line) around the control,

  property BorderWidth;

  

Width of the Border around the control; default is zero.

  property Color;

  

The background color of the control.

  property Constraints;

  

The minimal and maximal Width and Height of this control.

  property Enabled;

  

Determines whether the control reacts on mouse or keyboard input.

  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 display in this control.

  property FileSortType: TFileSortType;

  property HideSelection;

  property HotTrack;

  property Images;

  property Indent;

  property ParentColor;

  

If true, the Color of the control will be the same as the one from the Parent. Default is true.

  property ParentFont;

  

If true, the Font of the control will be the same as the one from the Parent. Default is true.

  property ParentShowHint;

  

If true, the value of ShowHint for the control will be the same as the one from the Parent. Default is true.

  property PopupMenu;

  

A context-sensitive menu that pops up when the right mouse button is clicked over this control

  property ReadOnly;

  

ReadOnly - if True, the TreeView can only be observed, and not Written to or changed. Default False

  property RightClickSelect;

  

RightClickSelect - if True, a Right Click selects an Item. Default False

  property Root: string;

  property RowSelect;

  

RowSelect - if True, a row is selected

  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 - if True, buttons are displayed

  property ShowHint;

  

Enables the Hint display.

  property ShowLines;

  

ShowLines - show the connecting lines of the tree structure

  property ShowRoot;

  

ShowRoot - if True, the root of the tree structure is displayed

  property TabOrder;

  

Determines the sequence of controls, reachable when the user presses the Tab key.

  property TabStop;

  

Allows the user to navigate to this control, by pressing the Tab key.

  property Tag;

  property ToolTips;

  

ToolTips - if True (default), pop-up tool tips are to be shown

  property Visible;

  

Allows to show or hide the control, and all of its children.

  property OnAdvancedCustomDraw;

  property OnAdvancedCustomDrawItem;

  property OnChange;

  

OnChange - specialised event handler for a change in the TreeView

  property OnChanging;

  

OnChanging - specialised event handler while TreeView is being changed

  property OnClick;

  

Notification handler for mouse clicks.

  property OnCustomDraw;

  property OnCustomDrawItem;

  property OnKeyDown;

  

Handler for keyboard key pressed.

  property OnKeyPress;

  

Handler for a character entered by the user.

  property OnKeyUp;

  

Handler for keyboard key released.

  property OnMouseDown;

  

Event handler for mouse button going down.

  property OnMouseMove;

  

Event handler for mouse movement within the control.

  property OnMouseUp;

  

Event handler for mouse button going up.

  property OnSelectionChanged;

  

OnSelectionChanged - event handler for a change in the selection

  property OnShowHint;

  

Event Handler when a hint shall be shown.

  property OnUTF8KeyPress;

  

Handler for a character entered by the user.

  property Options;

  

The set of Options for displaying the tree view

  property TreeLineColor;

  

TreeLineColor - the colour to be used for the lines showing the tree structure

  property TreeLinePenStyle;

  

TreeLinePenStyle - the pen style for drawing lines on the tree

  property ExpandSignColor;

  

ExpandSignColor - the colour to be used for the expand/collapse symbols

  property ObjectTypes: TObjectTypes;

  

Indicates which objects should be shown in this control (for example if it should show files and directories or only directories)

  property ShellListView: TCustomShellListView;

  

Can be utilized to connect this ShellTreeView to a ShellListView

end;

Inheritance

TShellTreeView

  

The main class for tree view control to display the files, directories and other objects (such as devices) from the file system structure

|

TCustomShellTreeView

  

The base class for tree view control to display the files, directories and other objects (such as devices) from the file system structure

|

TCustomTreeView

?

TObject