Autor Beitrag
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 13:10 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
begin
  Application.Initialize;
  Application.CreateForm(tform, form1);
  Application.Run;
end.

wenn ich das so dareinschreibe dann gibt der mir einen fehler aus

"undefinierter bezeichner form1 "

mein form1 hat aber name form1 und caption auch

nur meine projektdatei heisst MOORLEHRERJAGD und wenn ich das nehme funztes auch net... *verzweifeltbin*
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Do 21.10.04 13:14 
Geh mal im Menü auf Projekt->Dem Projekt hinzufügen.
Dort wählst du dann die betreffende Datei aus, wo deine Sourcen drin sind.
kachel81
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Do 21.10.04 13:16 
Dann trag mal in die Uses Klausel (paar Zeilen drüber)

ausblenden Delphi-Quelltext
1:
Form1 in 'FormXY.pas' // statt FormXY.pas den Namen der *.PAS-Datei ein					
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 13:16 
huh???? ich hab kp was du meinst!!!! :shock: :?!?: :?!?: :?!?: :?!?:

da merk ich mal wieder was ein obernub ich bin...
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 13:19 
ok jetzt krieg ich ca 50 fehlermeldungen zurück


juhuuuu es lebe der Fortschritt!!!
kachel81
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Do 21.10.04 13:19 
Dann poste mal den Inhalt Deiner DPR-Datei
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 13:27 
den einzigen fehler den ich noch net gelöst habe ist
ausblenden Delphi-Quelltext
1:
2:
3:
lrw1.picture:= dylrw.picture;
      lrw1.height:= dylrw.height;
      lrw1.width:= dylrw.width;


und dann kommt als fehlermeldung "KONSTANTENAUSDRUCK (ja in einem Wort *confused*) erwartet"
kachel81
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Do 21.10.04 13:31 
ungetestet:

ausblenden Delphi-Quelltext
1:
lrw1.picture.assign(dylrw.picture);					
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 13:36 
bringt leider auch nichts der zeigt immer noch denselben fehler an...
ausblenden Delphi-Quelltext
1:
2:
3:
1..4: lrw1.picture.assign(dylrw.picture);
      lrw1.height:= dylrw.height;//und markiert diese zeile
      lrw1.width:= dylrw.width;
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Do 21.10.04 13:38 
Mach doch erstmal einen Kommentar aus allem, was der Compiler anmault, um zu sehen, ob die Form jetzt überhaupt angezeigt wird.
Danach können wir (sinnvollerweise in einem anderen Topic) die anderen Probleme durchgehen.
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 13:38 
ok das war ja mal wieder klar das ich nub vergesse das da hin zu schreiben naja ok dann wars das wohl
das muss so aussehen
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
case runde of
1..4: <span style="font-weight: bold">begin</span>
        lrw1.picture.assign(dylrw.picture);
        lrw1.height:= dylrw.height;
        lrw1.width:= dylrw.width;
      <span style="font-weight: bold">end;</span>

naja lassen wir das...
kachel81
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Do 21.10.04 13:42 
Also wenn das jetzt geht will ich aber auch nen Keks haben! Sonst :bawling:
jojo-sp
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

Windows XP Prof, Vista Ultimate & Home Premium, Windows 7
Delphi 7 Enterprise, Delphi 2009
BeitragVerfasst: Do 21.10.04 14:02 
:gruebel: Ich frag mich gerade, wie er es angestellt hat, das Form aus application.createform zu löschen.
Das Showmessage war nen Tippfehler von mir.
Wenns funzt sagste bescheid.

_________________
Ist der Ruf erst ruiniert, lebts sich gänzlich ungeniert...
Wilhelm Busch (1832 - 1908)
matzerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP
D6 Pers
BeitragVerfasst: Do 21.10.04 14:40 
kachel81 hat folgendes geschrieben:
Also wenn das jetzt geht will ich aber auch nen Keks haben! Sonst :bawling:
ok hier *keks-rueberreich*

@jojo ich frag mich das auch!!!

aber es funzt jetzt