[Overview][Types][Classes][Index] Reference for unit 'fpg_tree' (#fpgui)

TfpgTreeNode

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

TfpgTreeNdoe describes an individual node in a tree view widget.

Declaration

Source position: fpg_tree.pas line 69

type TfpgTreeNode = class(TObject)

public

  constructor Create();

  destructor Destroy; override;

  function AppendText();

  function Count;

  function CountRecursive;

  function FindSubNode();

  function GetMaxDepth;

  function GetMaxVisibleDepth;

  procedure Append();

  procedure Clear;

  procedure Collapse;

  procedure Expand;

  procedure Remove();

  procedure MoveTo();

  procedure UnregisterSubNode();

  function ParentInactSelColor;

  function ParentInactSelTextColor;

  function ParentSelColor;

  function ParentSelTextColor;

  function ParentTextColor;

  property Collapsed: Boolean; [rw]

  property Data: Pointer; [rw]

  property FirstSubNode: TfpgTreeNode; [r]

  property ImageIndex: Integer; [rw]

  property StateImageIndex: Integer; [rw]

  property LastSubNode: TfpgTreeNode; [r]

  property Next: TfpgTreeNode; [rw]

  property Parent: TfpgTreeNode; [rw]

  property Prev: TfpgTreeNode; [rw]

  property Text: TfpgString; [rw]

  property TreeView: TfpgTreeView; [r]

  

Specifies the tree view widget that displays the node.

  property HasChildren: Boolean; [rw]

  property InactSelColor: TfpgColor; [rw]

  property InactSelTextColor: TfpgColor; [rw]

  property SelColor: TfpgColor; [rw]

  property SelTextColor: TfpgColor; [rw]

  property TextColor: TfpgColor; [rw]

end;

Inheritance

TfpgTreeNode

  

TfpgTreeNdoe describes an individual node in a tree view widget.

|

TObject

Description

Each node in a tree view control consists of a label and an optional bitmapped image. Each item can be the parent of a list of subitems. By clicking an item, the user can expand or collapse the associated list of subitems.

See also

TfpgTreeView


Documentation generated on: 2015-04-04