Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by AlexII,
9. Jan 2010
Wieso nicht?
Ich habe FileName neu definiert und das ohne Dateiname :thumb:
Ok vllt habe ich mich falsch ausgedruckt, pardo, aber das läuft jetzt.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by AlexII,
9. Jan 2010
Wow hab ich eine coole Lösung gefunden... und das SELBER! :hello:
Also 'n' kenne ich doch. Da es schon oben in der Funktion hochgezählt wurde, zähle ich es runter und packe das Ende der erstellten Datei in 'str1' - (1).txt, dann die aktuelle Nummer der Datei in 'str2' - (2).txt
In FileName ersetze ich (1).txt durch (2).txt und fertig.
str1:='(' + IntToStr(n-1) + ')' + '.txt';...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by AlexII,
9. Jan 2010
Ok, muss mal überlegen... :gruebel:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by AlexII,
9. Jan 2010
Dateiname wird automatisch erstellt und kann schon eventuell Klammern enthalten, so kann ich dann falsche Klammern "packen". :roteyes:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by AlexII,
9. Jan 2010
Hallo,
mein Programm erstellt Dateien in diesem Schema:
Und das mache ich so:
n:=n+1;
Filename:=Dateiname + '(' + n + ')' + '.txt';