Alright i have the code

shapes

Ahat would the equivalent of that be for a linklist named list?

I tried list.getdata(i)
but it's not working.

Can anyone help me?

you need to use the list model and not the list directly, then just have the list handle all the quieres GUI related.