[Migrated content. Thread originally posted on 15 August 2006]
Need help on finding an item in a tree view.What we are doing is creating a tree view from our menu.
Ex.
MM Main Menu
TRM Transaction Menu
BAM Batch Menu
FMM File maintenance Menu
and so on.
Each of the item may or may not have child items.
We also have an entry field just under the tree view where the user can type in the name of the item from the tree. If the item typed in is a program we execute the program.
The thing I can not figure out is if the item is another menu item that has children how do I find that entry in the Tree-view to expand it. I do not know the Index of each item because I cannot set a pointer for each one, not knowing how many item will be under each menu.
Each Item has the displayed data as hidden data.
Question is can I find an item from the hidden data.
Ex.
If they type in FMM in the entry field how do I find that item in the tree to build the children and expand the parent?
thanks



