Autor Beitrag
Rissstau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 22:16 
Hallo.

Ich versuche gerade einen längeren Text in ein Memo einzugeben...
Allerdicgs kommt beim starten des Programmes die Fehlermeldung 'Nicht abgeschlossener String'.

Kann mir vll jemand weiterhelfen???

Danke schonmal im Voraus
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 10.11.06 22:20 
Du hast irgendwo sicher ein Apostroph (') vergessen. ;) Ansonsten zeig mal den Code.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 22:33 
Ne, die Abostrophe sind alle da


ausblenden Delphi-Quelltext
1:
Memo1.Text:='Herzlich Willkommen'					


Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt
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 10.11.06 22:40 
Semikolon am Ende?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 22:42 
JA, ist da...
hats nur vergessen eben zu schreiben^^
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 10.11.06 22:46 
Meine Glaskugel ist gerade heruntergefallen :bawling:
Ich warte auf deinen Quellcode :?!?:

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 22:50 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Memo1Change(Sender: TObject);
begin
Memo1.Text:='Herzlich Willkommen';
end;

end.


Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Fr 10.11.06 23:10 
Ich kann zwar nicht verstehen, was das im OnChange Bereich zu suchen hat aber ansonsten ist da kein Fehler.
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 23:26 
Und wo soll ich das sonst reinschreiben, oder woran kann es liegen, dass es trotzdem nicht funktioniert???
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Fr 10.11.06 23:29 
Ich weiß ja nicht was du machen willst, aber das OnChange Event wird aufgerufen, sobald du etwas am Text im Memo änderst - in deinem Fall bleibt somit der Text immer der gleiche "Herzlich Willkommen". ;)
Und meines achtens sollte das auch Problemlos funktionieren... :roll:
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 23:31 
Ich will eigentlich nur einen Begrüßungstext in ein Programm einfügen... Gibt es denn da auch noch andere Möglichkeiten, wie ich dass machen könnte???
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Fr 10.11.06 23:36 
Ja, zb. zur Erstellungszeit im Objektinspektor unter Lines -> Strings
Und dann stellst du am besten Readonlny noch auf True. ;)
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Fr 10.11.06 23:54 
Womit hat man's hier zu tun ? mit einem hoffnungslosem Fall.
Hast Du schon andere Sachen probiert ?
Gibt es irgendwelche Fehlermeldungen, außer die oben genannt ?
Bist Du Anfänger ?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.Button1Click(Sender: TObject);
begin
  Memo1.Text:='Herzlich Willkommen';
end;


Past&Copy dann dürfte kaum noch etwas schief gehen...
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Fr 10.11.06 23:56 
Bin zwar Anfänger. Aber so steht und stand es bei mir die ganze zeit und es geht immer noch nicht... und ne andere fehlermeldung kommt auch net!!!
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Sa 11.11.06 15:25 
Hast du noch mehr Code? Vllt. liegt der Fehler ja auch ganz wo anders! ;)
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Sa 11.11.06 15:34 
Da wo die Fehlermeldung angezeigt wird steht die Zeilennummer in Klammern links daneben.

MfG
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: Sa 11.11.06 16:14 
Poste am besten mal deinen gesamten Code...
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: Sa 11.11.06 23:53 
Das Programm selbst funktioniert ja einwandfrei... nur wenn ich dann das Memo eingefügt habe, kommt diese eine Fehlermeldung...
BerTeL
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 45

Windowx XP
Delphi 7 Enterprise
BeitragVerfasst: So 12.11.06 00:01 
Im Memoteil ist mal sicher kein fehler (bei einer zeile ist das recht schwer ^^).
Poste mal den gesamten quelltext bitte ... vieleicht hast du wo anders irgendwas falsch gemacht.
Rissstau Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 49



BeitragVerfasst: So 12.11.06 00:03 
ok, kann ich machen, aber wie schon gesagt, es funktioniert ja einwandfrei...

und außerdem muss ich warnen... der gesamte quelltext ist 10-12 seiten lang...