var i:integer; begin i:=pagecontrol1.ActivePageIndex+1; (Form1.FindComponent('WebBrowser'+inttostr(i)) as TWebBrowser).GoBack; end;