Sign in to follow this  
Followers 0
Guest Meri

Data from TreeViewItem

5 posts in this topic

I have been puzzling with the coding with this new AutoIT 3 version. I love the GUI add functionality. While looking for a way to use items selected from controls i found no way to get the data selected in a treeview.

E.G. GUICtrlRead gets all data in selected controls such as listview and combo boxes, why not the data from Treeview? Instead it returns the state of the treeview while im not using the GUIctrlgetstate code.

Anyone got idea how to do this in a simple way such as the other functionality?

Maybe also a thing overseen by the makers that it returns a state during a data read code while there is a special state return code for those who want to know the state of the item. Im dying to use the read code but was disappointed it didn't work.

Help me out plz!?

Regards,

Meri

Share this post


Link to post
Share on other sites



see the 3.1.1++ beta version I think you will love it (Thanks to Holger and Valik) :)

Share this post


Link to post
Share on other sites

I noticed there are 2 beta's?

Or are there just 2 links.....

http://www.autoitscript.com/autoit3/files/unstable/autoit/

and

http://www.hiddensoft.com/fileman/users/jpm/AutoIt3-gui/

<{POST_SNAPBACK}>

http://www.autoitscript.com/autoit3/files/unstable/autoit/

is the official one that allow access to regexp functions.

http://www.hiddensoft.com/fileman/users/jpm/AutoIt3-gui/

is a pre-beta before JON come back it include regexp too plus a lot of dev that Autoit Dev team have done. You can use it I try to support it before JON can come back a Beta integration.

Share this post


Link to post
Share on other sites

I looked on the beta details, but i cant see a change or a way how i can get the Text from the item i selected in a treeview.

Is it something with the Opt compatibility code? If so , please explain/example how to do this.

Thanks!

P.S. I found another way but it require a ini-file to be temp made to keep track what Control ID has what text.

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