>>35
ShowMessage(PageControl1.ActivePage.Caption);