Jump to content

Get Values From Treeview


Recommended Posts

I want to get the text of the next branch up from what the user has selected

Such as in the example in the help file. If the user selects "About" how do I get it to return "General"?

INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

I want to get the text of the next branch up from what the user has selected

Such as in the example in the help file. If the user selects "About" how do I get it to return "General"?

Well, I solved it on my own.
MsgBox(262144,'TreeView',_GUICtrlTreeViewGetText($treeview, _GUICtrlTreeViewGetParentHandle($treeview)))
Odd how sometimes even though you look at the help file, you still might miss your answer though.... Edited by strate
INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...