I'm using list box and multiselect is on, how do i get all the indices of the selected items as this is more than 1, .selected count only returns the number of items selected and not the index
Develop games in your browser. Powerful, performant & highly capable.
Make a For Loop:
For "" from 0 to list.count + 1 (i'm not sure why, but I had to add +1 to get the last index)
then, I'm not sure what you're doing with it, but I was just putting them into some text like this:
append List.SelectedTextAt(loopindex)
spacedoubt, thanks, i guess it should be .itemcount not .count. Thanks once again
Make a For Loop: For "" from 0 to list.count + 1 (i'm not sure why, but I had to add +1 to get the last index) then, I'm not sure what you're doing with it, but I was just putting them into some text like this: append List.SelectedTextAt(loopindex)