Jump to content
Sign in to follow this  
Medic873

TreeView If Selected

Recommended Posts

I have a lot of tree views in my gui and Im wanting to be where once the user clicks start it will take the TreeView item selected and say it = $item = "Url"

and then display it how can I have it where it says if this tree view is selected then change $item1 to this and if this tree view select then change it to this..

Thank you in advance

Share this post


Link to post
Share on other sites

Without example, only 2 guess I can make:

Does If expression is checked just once or many times? Is it in infinite loop or assigned to a button?

Maybe try GuiCtrlRead($main_tree_view_id) for getting ID of item currently selected? Check GuiCtrlCreateTreeView helpfile example for this solution.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...