This example shows you how to add a page to a TTabbedNotebook at run-time. It also shows how to add controls to it. Original code by Graham Mainwaring.
procedure AddPage;
var
btnNew : TButton;
NewPage: TTabPage;
wNumber: Word;
begin
{ [...]
Merlin’s Delphi Forge