Is it possible to make an array of and object (like in VB6) such as

Button(1).text="Hello"
Button(2).text="hello2"

you could do it in vb6 by simply copying and pasting an object and it would allow you to decide if you wanted it an array or not.