Board index » cppbuilder » get Treeview's node by it's name

get Treeview's node by it's name

Dear all,

I want to get the treeview's  node by the node's name/text, the node may be
a subitem of other node's subitem.
are there any good way?

Lucy he

 

Re:get Treeview's node by it's name


Quote
"Lucy He" <hexiaoyanz...@sohu.com> wrote in message

news:3eb8ae0f@newsgroups.borland.com...

Quote
> I want to get the treeview's  node by the node's
> name/text, the node may be a subitem of other
> node's subitem. are there any good way?

TTreeView has no native provisions for doing that.  You'll just have to
manually loop through all of the nodes one at a time testing each one until
you find the one you are looking for.

Gambit

Other Threads