Hey guys, I've been working on a fairly large project lately
I need to know something
with GUI text list controls to add a row uses this format;
object.addrow(id, text, index)
I'm not sure what ID or Index is.
I'm assuming ID means it is the first, second, third, item in the list.
If this is so, that means I need to populate the list using a for loop so that I don't have all the entries with ID number 1, however for my purposes that isn't a way I can do it.
Is there a way to get the last item in the list's ID so I can add one then add the row?
Basically I need this to constantly be adding/removing rows, not just load the rows in at one point in time. And if I use the same ID I assume it is going to overlap and just delete the old ID. And creating a variable JUST to store the last created row ID is a bad way to do it if there is a way to just get the last ID
And what is Index?