Telegram_2023-09-17T12

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2023 > 09 > 17 >

Telegram_2023-09-17T12

Telegram link

 

2023-09-17T12:11:37

 

Hi.

 

Problem in creating tab dynamically :

 

The page header is not added, but the page body is added.

 

procedure TIWForm1.IWButton3AsyncClick(Sender: TObject; EventParams: TStringList);

 

var

 

pg: TIWTabPage;

 

begin

 

pg := TIWTabPage.Create(self);

 

pg.Name := 'IWTabControl1Page3';

 

pg.Parent := IWTabControl1;

 

pg.Title := 'New Tab';

 

end;