You can put those panels in an array or a list and iterate over the panel list and reposition them accordingly.


Always learn from history, to be sure you make the same mistakes again...