Freeman35 Posted July 6, 2017 Posted July 6, 2017 Hello, I need to get TUniTreeNode.Index. NOT selectedIndex. I wanna write export and import for treeview, but need Index property so I can find node place. Level property is published Maybe need publish this property in TUniTreeNode. Thank you. Quote
Sherzod Posted July 6, 2017 Posted July 6, 2017 Hi, TWebTreeNode(UniTreeView1.Selected).AbsoluteIndex ? Quote
Freeman35 Posted July 6, 2017 Author Posted July 6, 2017 Thank you, No need to cast for "TUniTreeView.Items[ I ].AbsoluteIndex;" ShowMessage(IntToStr(TUniTreeView.Items[ I ].AbsoluteIndex) +' = '+ IntToStr(TWebTreeNode( TUniTreeView.Items[ I ] ).Id)); TWebTreeNode.Id is equal TreeNode.Index ? regards. Quote
Sherzod Posted July 6, 2017 Posted July 6, 2017 Thank you, No need to cast for "TUniTreeView.Items[ I ].AbsoluteIndex;" sorry Quote
Sherzod Posted July 6, 2017 Posted July 6, 2017 TWebTreeNode.Id is equal TreeNode.Index ? No (not always) Quote
Freeman35 Posted July 6, 2017 Author Posted July 6, 2017 There is no help file(s) ( I hope yet ) if its possible, can you explain whats different AbsoluteIndex & Id ? I'm newbie on uniGUI & web, I wanna learn. Thank you so much for your helps Best regards Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.