Autor Beitrag
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Sa 10.06.06 16:31 
Hallo!

Wollte mal wissen ob es möglich ist, mehrzeilige Strings in einer Stringtabelle zu haben. Also das ein #13#10 vorkommt.


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
Dundi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 16
Erhaltene Danke: 2



BeitragVerfasst: Sa 10.06.06 16:55 
Hallo,
ich weiß nur das es mit dem Resourcen Workshop von Borland geht. Bin mir jetzt nicht sicher aber um einen Zeilenumbruch zu erreichen in der Stringtabelle ist es der Parameter /n. <blablabla /n blablabla>
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Sa 10.06.06 18:23 
Naja also meine Funktion die die Strings ausliest gibt mir den String mit den /n s zurück :(

Muss ich wohl mit StringReplace arbeiten, oder gibts doch ne Möglichkeit?


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 10.06.06 19:58 
user profile iconBorn-to-Frag hat folgendes geschrieben:
Wollte mal wissen ob es möglich ist, mehrzeilige Strings in einer Stringtabelle zu haben. Also das ein #13#10 vorkommt.


Probieren geht über studieren

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Sa 10.06.06 20:12 
Mh, was soll ich denn alles ausprobieren :?

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 10.06.06 20:14 
Na ganz einfach:
ausblenden Delphi-Quelltext
1:
Form1.StringGrid1.Cells[1,1] := 'Hallo' + #13#10 + hALLO					


Gruß alias5000

PS.: irgendwie hab ich das Gefühl, dass du was anderes willst, kann das sein?

PPS.: jetzt gehts aber erstmal WM schaun :mrgreen:

_________________
Programmers never die, they just GOSUB without RETURN
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Sa 10.06.06 20:16 
Das glaub ich auch :mrgreen:

Stringtabelle und kein Grid :D


EDIT: Wird mir wohl nichts als StringReplace übrig bleiben, naja macht nix.. Ich markier das hier dann als gelöst..

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.