Autor Beitrag
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mi 31.05.06 16:35 
Hallo,

ich erstelle zur Laufzeit einen Tab in der PageControl1:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
Tab_Eingabe:=TTabsheet.create(form1);
Tab_Eingabe.PageControl:=PageControl1;
Tab_Eingabe.Caption:='Dateneingabe';
Tab_Eingabe.Width:=5000;

PageControl1 liegt wiederum in einer PageControl. Jedoch kann ich dem Tab eine Breite von 5000 zuweisen und es ändert sich nichts. Er ist viel zu klein. Was tun?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Marco D. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mi 31.05.06 16:58 
Hat sich erledigt. Ich hätte die Breite der PageControl, nicht die des Tabs, ändern müssen.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot