[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents a window that displays a hierachy list of items
Source position: fpg_tree.pas line 150
type TfpgTreeView = class(TfpgWidget) |
||
public |
||
constructor Create(); override; |
||
destructor Destroy; override; |
||
procedure SetColumnWidth(); |
||
function GetColumnWidth(); |
||
function GetNodeAt(); |
||
procedure GotoNextNodeUp; |
|
Moves the selection to the previous node up the tree |
procedure GotoNextNodeDown; |
|
Moves the selection to the next node down the tree |
procedure FullCollapse; |
|
Collapses all the nodes within a tree view control |
procedure FullExpand; |
|
Expands all nodes within the tree view control |
function NextNode(); |
|
Return the next node after ANode |
function PrevNode(); |
|
Return the previous node starting from ANode |
function NextVisualNode(); |
|
Return the next visible node starting from ANode |
function PrevVisualNode(); |
|
Return the previous visible node starting from ANode |
procedure BeginUpdate; |
||
procedure EndUpdate; |
||
|
This gives you read access to the internal Font resource |
|
property RootNode: TfpgTreeNode; [r] |
|
Returns the first node of the tree where all other nodes branch from |
property Selection: TfpgTreeNode; [rw] |
|
Specifies the selected node in the tree view |
property ImageList: TfpgImageList; [rw] |
|
Refers to the image list associated with the tree view |
property StateImageList: TfpgImageList; [rw] |
||
property PopupMenu: TfpgPopupMenu; [rw] |
|
Identifies the pop-up menu associated with the tree view |
published |
||
property BackgroundColor: TfpgColor; |
||
property DefaultColumnWidth: Word; [rw] |
|
Is the default with of columns displayed in the tree view |
property Enabled: Boolean; |
||
property FontDesc: string; [rw] |
|
Specifies the font used for the tree view |
property IndentNodeWithNoImage: Boolean; [rw] |
||
property NoImageIndent: Integer; [rw] |
||
property ParentShowHint: Boolean; |
||
property ScrollWheelDelta: Integer; [rw] |
||
property ShowColumns: Boolean; [rw] |
||
property Hint: TfpgString; |
||
property ShowHint: Boolean; |
||
property ShowImages: Boolean; [rw] |
||
property TabOrder: Integer; |
||
property TreeLineColor: TfpgColor; [rw] |
||
property TreeLineStyle: TfpgLineStyle; [rw] |
||
property OnChange: TNotifyEvent; [rw] |
||
property OnDoubleClick: TMouseButtonEvent; |
||
property OnExpand: TfpgTreeExpandEvent; [rw] |
||
property OnKeyChar: TfpgKeyCharEvent; |
||
property OnKeyPress: TKeyPressEvent; |
||
property OnShowHint: THintEvent; |
||
property OnStateImageClicked: TfpgStateImageClickedEvent; [rw] |
||
end; |
|
Represents a window that displays a hierachy list of items |
|
| | ||
|
This forms the basis of any visual widget in fpGUI |
|
| | ||
|
Encapsulates a top level or child window |
|
| | ||
|
Maps to a backend specific base class |
|
| | ||
|
Implements XLib specific windowing functionality |
|
| | ||
|
Abstract class use for representing a Window or Widget |
|
| | ||
|
A descendant of the FPC TComponent class |
|
| | ||
TComponent |
||
? | ||
TObject |
Represents a window that displays a hierachy list of items. Examples of such hierachies can be the headings in a document, the entries in a index, or the files and directories on a disk.
Use TfpgTreeView to add an expanding and contracting outline to a form. Each node in a tree view control consists of a label and a number of optional bitmapped images. Each node can have a list of subnodes associated with it. By clicking on a node, the user can expand or collapse the associated list of subnodes.
Remark: | There is basic column support, but this is still very experimental. |
TfpgTreeNode |