Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我TAdvTreeview在创建时动态构建节点。根据用户的类型,每个人看到的节点数量不同。ANode.index通过触发 AdvTreeView1NodeClick 事件,我可以获取在 TAdvTreeview 中显示给他的所选 TAdvTreeViewVirtualNode( ) 的索引。但是有没有办法在点击节点时获取文本?
TAdvTreeview
ANode.index
过程 Tf_AAA.AdvTreeView1NodeClick(发送者:TObject;ANode:TAdvTreeViewVirtualNode);开始 Edit1.Text := AdvTreeView1.SelectedNodes[0].Text[0]; 结尾;