MISIIM Posted October 22, 2007 Posted October 22, 2007 Is there a way to loop through all the items in a treeview? Thanks.
Zedna Posted October 22, 2007 Posted October 22, 2007 Yes.Use ControlGetHandle() to get handle of TreeViewand then use _GUICtrlTreeView_GetNext() _GUICtrlTreeView_GetText() from latest beta 3.2.9.3 GuiTreeView.au3 UDF.Also look at principle here in my very old post treeview_item_state_example.au3 Resources UDF ResourcesEx UDF AutoIt Forum Search
Madza91 Posted October 25, 2007 Posted October 25, 2007 Hi, I have one question about treeview item... how to delete one ore all treeview items on button click? [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
GaryFrost Posted October 25, 2007 Posted October 25, 2007 Hi, I have one question about treeview item... how to delete one ore all treeview items on button click?_GUICtrlTreeView_Delete_GUICtrlTreeView_DeleteAll_GUICtrlTreeView_DeleteChildren SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Madza91 Posted October 25, 2007 Posted October 25, 2007 what is for include ? and how to use, _GUICtrlTreeView_DeleteAll($TreeView) ? [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
GaryFrost Posted October 25, 2007 Posted October 25, 2007 what is for include ?and how to use, _GUICtrlTreeView_DeleteAll($TreeView) ?Look at the examples in the help file SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Madza91 Posted October 25, 2007 Posted October 25, 2007 (edited) aaaaa the control is _GUICtrlTreeViewDeleteAllItems not _GUICtrlTreeView_DeleteAll btw tnx Edited October 25, 2007 by n3nE [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
GaryFrost Posted October 25, 2007 Posted October 25, 2007 aaaaa the control is _GUICtrlTreeViewDeleteAllItems not _GUICtrlTreeView_DeleteAll btw tnx Only if you are using the release version, function names changed in beta SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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