Creating a GUI Label List from Array

Hey,

I’m trying to create a GUI List from an Array of Strings. The lenght of the array is not fixed so what I need to do is to add/remove labels from the Array lenght.

How can I do this?

Thanks for any help

1 Answer

1

Something like:

for(i=0;i<array.length;i++)
{
GUI.label(Rect(x,y+(i*h),w,h),array*);*

}
Where, x, y, w, h are the dimensions of your label.

thanks. It was dead simple :P (noob alert)

–