Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
Turbo Delphi für Win32
|
Re: Markierter Text eines Memofeldes speichern
22. Nov 2005, 15:30
Delphi-Quellcode:
procedure SaveSelectedText(FileName: String);
var f: TextFile;
str: String;
begin
assignfile(f,FileName);
rewrite(f);
str:=Memo1.SelText;
write(f, str);
closefile(f);
end;
Manuel Eberl „The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
|