Guest Posted March 9, 2011 Share Posted March 9, 2011 Message from: "ayweo" Hi Sorry, I can only use Google translation. WEB mode in the Parent property to access TUniTreeNode error. Can not get child nodes of the Reference Code: var i: Integer; begin UniMemo1.Lines.Add(UniTreeView1.Selected.Text); for i := 0 to UniTreeView1.Selected.Count - 1 do UniMemo1.Lines.Add(UniTreeView1.Selected.Item.Text); if UniTreeView1.Selected.Level <> 0 then UniMemo1.Lines.Add(UniTreeView1.Selected.Parent.Text); end; . Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2011 Author Share Posted March 10, 2011 Message from: "ayweo" I think it may be because TUniTreeNode.Parent and TUniTreeNode.Item is TTreeNode not TUniTreeNode related. . Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2011 Author Share Posted March 10, 2011 Message from: "Farshad Mohajeri" "ayweo" wrote in message news:RfzG%23Zn3LHA.1648@anaxagvs227... > Hi > Sorry, I can only use Google translation. > WEB mode in the Parent property to access TUniTreeNode error. > Can not get child nodes of the > Reference Code: > > var > i: Integer; > > begin > UniMemo1.Lines.Add(UniTreeView1.Selected.Text); > for i := 0 to UniTreeView1.Selected.Count - 1 do > UniMemo1.Lines.Add(UniTreeView1.Selected.Item.Text); > if UniTreeView1.Selected.Level <> 0 then > UniMemo1.Lines.Add(UniTreeView1.Selected.Parent.Text); > end; Logged #896 and fixed . Link to comment Share on other sites More sharing options...
Guest Posted March 10, 2011 Author Share Posted March 10, 2011 Message from: "Farshad Mohajeri" "ayweo" wrote in message news:jSl3V7r3LHA.3560@anaxagvs227... >TUniTreeNode.Item Logged #897 and fixed. . Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now