i have answered this exact question, check out my profile,
search for other posts by me, and look for something like tab strip or dynamically add

oh well, i could work it out again if worse comes to worse