nullschritt Posted July 7, 2013 Share Posted July 7, 2013 (edited) Hello I need to dynamically edit a listview, removing certain objects from a row. The way I seem to have concluded that would be best for this, is retreiving the text of each row, and then simply removing the selected item. I found a _GUICtrlListView_GetItemTextArray() command, but it only seems to return a few numbers, not the actual text of the listview? Is there any way to get either(preferably) the whole listview as an array, or(less preferably) get the text of each individual row?[and then perhaps combine that into a 2d array?] Here is a picture of what I am trying to do: When a user clicks the [X] my script gets the username next to it, and then what I want to be able to do, is get the contents of the listview as an array(or string), convert it to string, replace the username and it's [X], then turn the string back into an array, and loop through it re-adding the items in the same order they were before. So if a user clicked the [X] by NetWork, it would disappear, and the convos to it's right would move left to take it's place. Currently my only obstacle is the inability to get a complete list of text from the table. Thanks ahead of time for your help. Edited July 7, 2013 by nullschritt Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now