Text images n stuff - WinBlitz3d

Blitz3D Forums/Blitz3D Programming/Text images n stuff - WinBlitz3d

a bit off topic, but i'm looking for a function that returns the text of a said gadget item in a listbox.

like consider the contents of this listbox:

firstitem
seconditem
thirditem


is there a function that would return the handle of firstitem? so i can translate that into a string?

eg.

Not Real function:

wb3d_GetGadgetTextByIndex(mylistbox,1)

would return "firstitem"


i want to be able to use a for next loop:

For i=1 to WB3D_CountGadgetItems(mylistbox)

;NOTREALNOTREALNOTREAL:
wb3d_GetGadgetTextByIndex(mylistbox,i)

Next


does such a function exist? or is there a way to get this information so i can create my own function?