Autor Beitrag
Halunkel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Fr 05.05.06 20:54 
Hallo!

Ich würde gerne bei Delphi ein Programm schreiben, bei dem man auf mehreren Seiten verschiedene Eingaben machen muss. Nun würde ich gerne durch einen Button zwischen den einzelnen Seiten wechseln. Wie kann ich aber neue Seiten einführen?

Vielen Dank


Moderiert von user profile iconGausi: Topic aus Algorithmen, Optimierung und Assembler verschoben am Fr 05.05.2006 um 21:56
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: Fr 05.05.06 20:57 
Benutze die Komponente PageControl. Registerkarte Win32. Dann dort rechte Maustaste - Neue Seite erstellen.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Fr 05.05.06 20:57 
Dem Programm fügst du eine weitere Form hinzu über das Delphi Menu: Datei -> Neu -> Formular. Anzeigen kann man das dann mit
ausblenden Delphi-Quelltext
1:
2:
3:
Form2.Show;
//oder, wenn das andere Form dann nicht anklickbar sein soll:
Form2.Showmodal;


Edit: Hmm. PageControl ist natürlich auch was. Kommt drauf an, was du nun genau willst ;-)

_________________
We are, we were and will not be.