Autor Beitrag
blackbirdXXX

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Sa 06.09.03 10:39 
Ich habe ein Programm mit einem TMemo und einem TEdit.
Der User gibt eine Zeile ein wie:
ausblenden Quelltext
1:
'Übersetztungsarbeit fertiggestellt'.					

Der Text müsste aber so im tmemo ankommen:
ausblenden Quelltext
1:
<font face="Verdana" size="2">Übersetztungsarbeit fertiggestellt</font></BR>					


Ich habe bis auf das Ersetzten der Umlaute alles erledingt. Ich habe aber keine Ahnung wie ich das mit dem Ersetzten machen soll,

_________________
Klein, schwarz und ärgert Techniker? Jumper!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 06.09.03 11:03 
mit der stringreplace funktion ! schau dir die mal in der delphi hilfe an !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
blackbirdXXX Threadstarter

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Sa 06.09.03 11:09 
:( Irrgendwas ist da falsch:

ausblenden Delphi-Quelltext
1:
tempstr := stringreplace('Ä', 'Ä', rfReplaceAll);					


Der Complier spuckt das da aus:
Zitat:

Error: Unit1.pas(93): Incompatible types: 'String' and 'Enumeration'

_________________
Klein, schwarz und ärgert Techniker? Jumper!
blackbirdXXX Threadstarter

ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 1077
Erhaltene Danke: 1

Ubuntu Dapper

BeitragVerfasst: Sa 06.09.03 11:16 
:D Fehler gefunden:
ausblenden Delphi-Quelltext
1:
tempstr := StringReplace(tempstr, 'Ä', 'Ä', [rfReplaceAll]);					

_________________
Klein, schwarz und ärgert Techniker? Jumper!