Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   PageControl + 2 Forms (https://www.delphipraxis.net/153598-pagecontrol-2-forms.html)

youuu 10. Aug 2010 01:29

PageControl + 2 Forms
 
Hi,

Ich habe eine PageControl mit 2 Tabs, in jedem Tab soll ein Form geladen werden bei Programmstart

Delphi-Quellcode:
Var
  Form1 : TForm1;
  Form2 : TForm2;
begin
  Form1 := TForm1.Create(Tab1); // Form1
  Form1.Parent:= Tab1;
  Form2 := TForm2.Create(Tab2); // Form2
  Form2.Parent:= Tab2;
nun erhalte ich abr direkt eine Exception, bei Programmstart.

Laut EurekaLog wird der Fehler in diesem Modul ausgelöst "KERNELBASE.dll - (Client-DLL für Windows NT-Basis-API)"

Exception = EListError
Listenindex überschreitet das Maximum (30).

Assembler:

7614960B DB $C4, $0C, $8D, $45, $B0, $50, $FF //les ecx, [$FF50B045+ecx*4]
76149612 adc eax, $7614116C ; '.eÛw' ; <-- EXCEPTION
76149617 leaver

mkinzler 10. Aug 2010 05:24

AW: PageControl + 2 Forms
 
Nimm besser Frames

youuu 10. Aug 2010 09:49

AW: PageControl + 2 Forms
 
Danke, Frames sind wesentlich besser.


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:36 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz