Sign in to follow this  
Followers 0
strate

Get Values From Treeview

2 posts in this topic

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...

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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...

Share this post


Link to post
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
Sign in to follow this  
Followers 0