I have to design a program for my school where i have a set of 50 buttons that when i click a button go into a random order.

My problem is, is when i click the button they all over lap each other.

So i need help in finding a way to make it so they are all separated and not overlapping each other.

Also is there away to use a button as a array like

Button1.top = blah blah turn that into
Button(i).top = blah blah
(for a for i loop that is)