Autor Beitrag
ute.h_80
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

Win XP
D5 Enterprise
BeitragVerfasst: Mi 19.11.03 16:50 
Ich hab jetzt zwei fertige Programme, das eine heißt Projekt1 und das andere Infofenster.

Wie kann ich's jetzt realisieren das mein Infofenster angezeigt wird wenn ich auf einen Button drücke?

Gruß Ute

Moderiert von user profile iconTino: Titel gändert; Topic verschoben.
MathiasSimmack
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Mi 19.11.03 16:55 
Heißt das, das InfoFenster ist ein extra Programm (= separate Exe)?
In dem Fall Suche in: Delphi-Forum, Delphi-Library SHELLEXECUTE, Suche in: Delphi-Forum, Delphi-Library RUNPROCESS
ute.h_80 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

Win XP
D5 Enterprise
BeitragVerfasst: Mi 19.11.03 17:21 
Titel: Echt cool!
:wink: Danke, hast mir sehr geholfen. :wink:
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 20.11.03 08:40 
Hallo und :welcome: hier im Delphi-Forum.de!

Warum packst du das About-Fenster in eine eigene Anwendung?

Gruß
Tino
ute.h_80 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

Win XP
D5 Enterprise
BeitragVerfasst: Do 20.11.03 10:21 
War im ersten moment einfacher und ich weiß auch nicht mehr wie es anders ging! :oops:

Gruß Ute
Stoffel1984
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 219

Win NT, Win 2000
D6 Prof
BeitragVerfasst: Do 20.11.03 11:51 
Hallo,

Schau einfach mal unter Datei -> Neu -> Formular
Dann hast du ein neues Formular, welches du ganz einfach mit Formularname.Show
anzeigen lassen kannst.
Danach einfach die Unit des neuen Formulars in den Uses Abschnitt der Unit schreiben, von der aus du das neue Formular aufrufen willst.

Gruß,

Stoffel
ute.h_80 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

Win XP
D5 Enterprise
BeitragVerfasst: Do 20.11.03 12:54 
Danke @ Stoffel,

deins ist einfacher stimmt schon. Aber das andere läuft jetzt schon so toll. Und der Prof für den das ist hat eh keine Ahnung von Delphi. Und für aussenstehende sieht das andere(glaub ich zumindest) komplizierter aus.

Ich hof mal das meine Taktik am Ende auch aufgeht, wenn nicht kann ich ja immernoch deine Lösung nehmen.

Gruß Ute :lol:
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 21.11.03 13:30 
Titel: Einfach
Hallo!

Stoffel1984 hat ja schon geschrieben, wie Du ein neues Formular benutzen kannst, aber Du hast ja bereits eins!

Deshalb musst Du nur die Unit mit dem Infofenster zu deinem Projekt hinzufügen und kannst dann mir Formularname.ShowModal dieses aufrufen! Da Du die Unit mit dem Formular vorher dem Projekt hinzugefügt hast, bietet Delphi dann automatisch an, die Unit auch zu deiner uses Klausel in dem aufrufenden Fenster hinzuzufügen!

das wäre dann schon alles und Du musst das Infofenster nicht neu machen!

Gruß,
Sebastian