Jump to content

Data from TreeViewItem


Guest Meri
 Share

Recommended Posts

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

Link to comment
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.

Link to comment
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.

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