While
ToolBar2.Create() effectively reinitializes the ToolBar you already employ on your first tabsheet,
ToolBar2 := TToolBar.Create() overwrites the global variable ToolBar2 you might use elsewhere to refer to the prevous instance. Think twice - normally only one toolbar is assigned to a form with a pagecontrol. Position is preferably on top of the form, right below the menu. If the user changes the active tabsheet, you
query the state of the command buttons from the then active browser control.
marabu