JesusIsKing Posted November 24, 2007 Share Posted November 24, 2007 How do I read all of the items in a list control from another window and write them into my listview? Link to comment Share on other sites More sharing options...
Zedna Posted November 24, 2007 Share Posted November 24, 2007 Use latest beta (or 3.2.10 RC) and look into Helpfile at these UDF functions: _GUICtrlListBox_GetCount() _GUICtrlListBox_GetText() For ListView use standard GUICtrlCreateListViewItem() Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
JesusIsKing Posted November 25, 2007 Author Share Posted November 25, 2007 Use latest beta (or 3.2.10 RC) and look into Helpfile at these UDF functions: _GUICtrlListBox_GetCount() _GUICtrlListBox_GetText() For ListView use standard GUICtrlCreateListViewItem() Will this work? For $a = 0 To _GUICtrlListCount($ListBox) - 1 GUICtrlCreateListViewItem(_GUICtrlListGetText($ListBox, $a), $sListView) Next Link to comment Share on other sites More sharing options...
JesusIsKing Posted November 26, 2007 Author Share Posted November 26, 2007 Will this work? For $a = 0 To _GUICtrlListCount($ListBox) - 1 GUICtrlCreateListViewItem(_GUICtrlListGetText($ListBox, $a), $sListView) Next it doesn't. i tried it and i really need some help. Link to comment Share on other sites More sharing options...
Zedna Posted November 26, 2007 Share Posted November 26, 2007 it doesn't. i tried it and i really need some help.Then read once again my previous post! Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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