Autor Beitrag
Niko S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 566
Erhaltene Danke: 10

Win 7, Ubuntu
Lazarus, Turbo Delphi, Delphu 7 PE
BeitragVerfasst: Di 17.10.06 17:56 
ausblenden Delphi-Quelltext
1:
stringreplace(edit1.text,'1','x',rfReplaceAll);					

Und nun was er nicht mag:
ausblenden Quelltext
1:
[Fehler] Unit1.pas(80): Inkompatible Typen: 'TReplaceFlags' und 'Enumeration'					

Und ich weis keine Lösung drauf :(
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Di 17.10.06 18:00 
du musst [ und ] um rfReplaceAll setzen, weil da ein Mengentyp gefordert wird.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Horst_H
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1654
Erhaltene Danke: 244

WIN10,PuppyLinux
FreePascal,Lazarus
BeitragVerfasst: Di 17.10.06 18:00 
Hallo,

war das nicht soetwas:
stringreplace(edit1.text,'1','x',[rfReplaceAll]); ??

Gruss Horst
Niko S. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 566
Erhaltene Danke: 10

Win 7, Ubuntu
Lazarus, Turbo Delphi, Delphu 7 PE
BeitragVerfasst: Di 17.10.06 18:14 
//edit
Ok läuft alles danke