I'm trying to use a loop to create label boxes and then populate them with information. At the moment I need about 100 label boxes, and that's far too much to graphically create. I'm pretty sure that I've seen someone use a loop to create components before. Here's the logic I've come up with

----------------------
code
---------------------

for counter = 0 to array.getupperbound(0)

<create label box at X + (20 * counter) pixels down and Y pixels right>

label (according to the counter).text = array(counter).toString

next

---------------------------------

Thanks for any help. Hope I wasn't too vague as I'm dead tired right now