I did a search on this forum and didn't find a answer, i use

$gettok($did(6,$did(6).sel).text,1,41)

to grab a line from a listbox in a dialog, but how can i get all the lines in that listbox? i can only get the first line from it, and i need the rest too. tested to change the value 1,41 and still no go, someone that can explain this a bit to me?