Autor Beitrag
c4fan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: Sa 21.08.04 17:40 
Bin dabei ein Prog zu erstellen wo ein Richedit Fenster zur Eingabe von Text verwendet wird. Innerhalb des Fensters kann ich sachen schreiben. Diese auch herauskopieren und sie bleiben so. Speichere ich aber in eine datei kommt was voll komisches heraus.

test schreibe ich in RichEdit in der datei kommt das heraus:
ausblenden Quelltext
1:
2:
3:
4:
{
tf1ansiansicpg1252deff0deflang1031{fonttbl{f0fnil MS Sans Serif;}{f1fnilfcharset0 MS Sans Serif;}}
viewkind4uc1pardf0fs16 
par f1 testf0 
par }


wie kann ich das ändern?


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Mo 23.08.2004 um 10:30
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: Sa 21.08.04 17:41 
garnicht. das ist rtf. nur, wenn du sie mit notepad öffnest, sieht du halt rtf-codes.

oder wo ist genau dein problem?
grez
msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?
c4fan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: Sa 21.08.04 17:53 
ja genau das ist mein problem
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Sa 21.08.04 17:55 
normalerweise unterstützt ein richedit doch txt und rtf,oder?

_________________
si tacuisses, philosophus mansisses.
.Chef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1112



BeitragVerfasst: Sa 21.08.04 18:00 
Ja, es gibt da die Eigenschaft PlainText ...
c4fan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 22



BeitragVerfasst: So 22.08.04 13:53 
Und was heisst das nun im Klartext? Kann ich es nun doch als .txt Datei speicern ohne dass er mir dann im Notepad die komische Zeichenfaolge anzeigt oder nicht?
MSCH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1448
Erhaltene Danke: 3

W7 64
XE2, SQL, DevExpress, DevArt, Oracle, SQLServer
BeitragVerfasst: So 22.08.04 16:58 
Verwende a) die RTF-Compo und nehme die Eigentschaft PlainText, oder b) überlege warum du die RTF Kompo nimmst und nicht TMEMO, wenn du TXT Files haben willst und vieleicht schaust du mal in die OH.

grez
msch

_________________
ist das politisch, wenn ich linksdrehenden Joghurt haben möchte?