| || |
Obtaining column content of a SwfListView
Is there a way to obtain all of the content of a "sub" column quickly, instead of using GetSubItem?
For the first column of a SwfListView there is GetContent, which returns all of the items separated by linefeed characters (Chr(10)).
For example, say I have a SwfListView that has a column for "Names" and another column for "Age".
Obviously the Names column would be the left-most column, so I could quickly obtain all of the names using GetContent and then use the Split function to obtain an array of all of the names. However, to get the Age values, I'd have to iterate through each row, using GetSubItem to retrieve the age (which is rather slow).
Using GetContent with Split over GetItem reduced runtime of the code drastically, so I was wondering if it would be possible for the other column(s).