Setting PageControl ActivePage after creating Multiple TabSheets at runtime

Using D2, I've created a button which allows the user to create multiple
TabSheets at runtime. Problem is, ActivePage remains the last page
you've clicked, and I can't find the syntax to set ActivePage to be the
TabSheet just created. Usual syntax is:
PageControl1.ActivePage := TabSheetName

but I can't find a way of substituting TabSheetName with the Name or
PageIndex of the newly created TabSheet?

Assistance appreciated.

Lisa Ward