Autor Beitrag
g1o2k4
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 493



BeitragVerfasst: Mo 14.08.06 19:36 
nabend !

ich hab ein projekt in dem ein paar angaben per konsole ausgegeben werden. nur die konsole soll nicht im hauptfenster zu sehen sein sondern in einer extra form.
wie sieht der code aus damit Memo1.text :='............'; in der anderen form erscheint. meinetwegen auf buttonklick im hauptfenster.
kann mir da jemand helfen ?

danke grüße g1o
_frank_
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 343
Erhaltene Danke: 1

Win XP
Delphi 3 Prof / Turbo Delphi Explorer
BeitragVerfasst: Mo 14.08.06 19:50 
ausblenden Delphi-Quelltext
1:
form2.memo1.Text:='...'					

Gruß Frank

_________________
EB FE (die wahrscheinlich kürzeste Endlosschleife der Welt :) )
BA 01 00 00 00 52 EB 09 BB 4D 11 86 7C FF D3 EB 0D E8 F2 FF FF FF 63 68 61 72 6D 61 70 00 C3
g1o2k4 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 493



BeitragVerfasst: Mo 14.08.06 19:51 
ich muss anscheinend irgendwo in form1 die form2 deklarieren aber wo ?
_frank_
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 343
Erhaltene Danke: 1

Win XP
Delphi 3 Prof / Turbo Delphi Explorer
BeitragVerfasst: Mo 14.08.06 20:11 
also mein delpgi fragt, obs die unit2 mit hinzufügen soll...

ansonsten

uses unit2; //unitnamen halt deinem anpassen

nach implementation

Gruß Frank

_________________
EB FE (die wahrscheinlich kürzeste Endlosschleife der Welt :) )
BA 01 00 00 00 52 EB 09 BB 4D 11 86 7C FF D3 EB 0D E8 F2 FF FF FF 63 68 61 72 6D 61 70 00 C3
g1o2k4 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 493



BeitragVerfasst: Mo 14.08.06 20:57 
hmm ok, aber ich hab jetzt folgendes problem:

wenn ich auf buttonclick, onformclose oder sonstwas beide formen schließe mit

form1.close;
form2.close;

bekomm ich beim ausführen in laufzeit folgendes: EStackOverflow / Stack-Überlauf
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mo 14.08.06 21:02 
*neue frage neues topic sag*
Wenn du die MainForm(Oder die einzige gerade sichtbare) schließt, was im Standardfall immer Form1 ist, schließt sich das ganze Programm. Damit auch Form2. Du versuchst das ganze 2mal zu machen, das mag der ned so sehr. Also lass einfach mal die zweite Zeile weg ;>

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
g1o2k4 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 493



BeitragVerfasst: Mo 14.08.06 21:10 
so einfach kann programmieren sein ^^