Hi Bernd,
You can obtain quite a bit of information by signing up to Microsoft's MSDN. Don't worry this is FREE.
URL:
http://premium.microsoft.com/isapi/devonly/prodinfo/msdnprod/msdnlib.idc?theURL=/msdn/library/devprods/vs6/vfoxpro/html/vfpstartpage.htmAs far as adding nodes to your TreeView, this could be done by using the TreeView.Nodes.Add() Method.
Example: (you may want to place this code in your Form's or the TreeView's init method. I am assuming that you have placed the treeview object on the form and that changed its name to TreeView)
#DEFINE tvwFirst 0
#DEFINE tvwLast 1
#DEFINE tvwNext 2
#DEFINE tvwPrevious 3
#DEFINE tvwChild 4
*-- Add Root node
oNode = THISFORM.TreeView.Nodes.Add(,tvwFirst,"Root","Root Node")
WITH oNode
.Expanded = .T.
ENDWITH
*-- Add children nodes
THISFORM.TreeView.Nodes.Add("Root", tvwChild, "Node1", "Node 1")
THISFORM.TreeView.Nodes.Add("Root", tvwChild, "Node2", "Node 2")
THISFORM.TreeView.Nodes.Add("Node1", tvwChild, "Node1.1", "Node 1.1")
*-- This should give you a starting point. If you need additional examples let me know.
Good luck