with the following code i create a NxPagecontrol at runtime:
with pgMain do
Top := 46;
Left := 3;
Width := 1133;
Height := 200;
Options := [pgBoldActiveTab];
BackgroundKind := bkTransparent;
DoubleBuffered := False;
Name := 'pgMain';
Parent := frmMain;
Then i create a bunch of NxTabsheets:
tsSheet := TNxTabSheet.Create(pgMain);
tsSheet.Visible := True;
tsSheet.Caption := slAcc[iCnt];
Edit := TEdit.Create(tsSheet);
Edit.Parent := tsSheet;
where slAcc is a Stringlist containing the captions.
The Problem is that the editfields were shown, but not the tabs.
If i click with the mouse in the area where the tabs must be, they appear in a range around the mousecursor (see screenshot).