TreeNode是可以Name和Text属性的。
http://www.foxtable.com/help/topics/2244.htm
http://www.foxtable.com/help/topics/0888.htm
所以你可以将帮助的代码改为:
Dim trv As WinForm.TreeView = e.Form.Controls("TreeView1")
Dim nd As WinForm.TreeNode
nd = Trv.Nodes.Add("分类1","分类1")
nd.Nodes.Add("表A","表A的描述")
nd.Nodes.Add("表B","表B的描述")
nd.Nodes.Add("表C")
nd = Trv.Nodes.Add("分类2","分类2")
nd.Nodes.Add("表D","表D的描述")
nd.Nodes.Add("表E","表E描述")