cellTextAt is not choosable in listbox?

Trying do something very easy with a listbox, but cellTextAt creates an error.

'count distribution points
for p=0 to 3 'go to each player’s listbox
for i=1 to output(p).LastRowIndex 'go down the listbox

temp=output(p).cellTextAt(i) 'temp is dimensioned as a string

I could use some help, Thanks!

Screenshot 2023-10-03 at 1.56.59 PM

Screenshot 2023-10-03 at 1.54.49 PM

The error is telling you everything you need to know.

Listbox does not have CellTextAt. Listbox has CellValueAt.

DesktopListbox has CellTextAt

I found the problem…

  1. I had the super as ListBox, not deskTopListBox
  2. CellTextAt does now list!
  3. I tried cellValueAt earlier…no luck because of the wrong listBox declaration

oddly everything else I was using under the old declaration did work.