kalayaan Posted November 25, 2004 Posted November 25, 2004 Hi, I know it's been asked by redndahead (http://www.autoitscript.com/forum/index.php?showtopic=5053&hl=) but I don't think an answer has been found. So how does one read what is selected in a treeview? GuiRead picks up the control ID but not the text. Thanks.
jpm Posted November 25, 2004 Posted November 25, 2004 Hi,I know it's been asked by redndahead (http://www.autoitscript.com/forum/index.php?showtopic=5053&hl=) but I don't think an answer has been found.So how does one read what is selected in a treeview? GuiRead picks up the control ID but not the text.Thanks.<{POST_SNAPBACK}>as the text cannot be changed only the Id is return so during the setting memorise it so you can reuse it is the only solution
kalayaan Posted November 26, 2004 Author Posted November 26, 2004 as the text cannot be changed only the Id is return so during the setting memorise it so you can reuse it is the only solution <{POST_SNAPBACK}> bummer. i was trying to list the contents of a folder and the treeviewitems are created automatically. oh well. probable workaround may be to store the text in an array at creation and crossreference afterwards.thanks anyway...
Administrators Jon Posted November 26, 2004 Administrators Posted November 26, 2004 bummer. i was trying to list the contents of a folder and the treeviewitems are created automatically. oh well. probable workaround may be to store the text in an array at creation and crossreference afterwards.thanks anyway... When I add generic treeview reading code (like ControlListView) you'll be able to do it that way. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
redndahead Posted November 29, 2004 Posted November 29, 2004 (edited) When I add generic treeview reading code (like ControlListView) you'll be able to do it that way.<{POST_SNAPBACK}>No pressure, but when you are rearranging the controlcommand function is this when you are plannning on adding this? Sorry I just have put a project on hold until this is complete and it would be nice to know.Thanksred Edited November 29, 2004 by redndahead
Administrators Jon Posted November 29, 2004 Administrators Posted November 29, 2004 No pressure, but when you are rearranging the controlcommand function is this when you are plannning on adding this? Sorry I just have put a project on hold until this is complete and it would be nice to know.ThanksredOh ages away, not until after 3.0.103 is publically released. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Administrators Jon Posted November 29, 2004 Administrators Posted November 29, 2004 oh that's too bad redIt's just neverending otherwise, 3 months since the last "public" release and the suggestions/new features are constantly coming. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
kalayaan Posted December 9, 2004 Author Posted December 9, 2004 Am in the same boat as Red. But, hey Red, wouldn't it be nice if the 103 was released with the listview control included to complete the GUI functionality? Just my thought.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now