Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by dust258,
4. Nov 2009
So, habs jetzt über die Stringlist gelöst:
function TIniAccess.writeDataToIni (inSSCategory, inSDescription, inSValue : String) : Boolean;
var
lInifile : TStringList;
begin
if fSPath = '' then setAppDir;
Result:=False;
if inSValue <> '' then
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by dust258,
4. Nov 2009
@himitsu:
Stimmt, aber in diesem Fall egal.
@Progman
Das Programm soll bestehende Inis bearbeiten. Ich habe also leider keinen Einfluss auf die Form der Kommentare.
Naja, dann muss ich mir wohl was manuelles einfallen lassen. Ich poste meine Lösung später...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by dust258,
3. Nov 2009
Hi Leute,
ich hab mal wieder ein Problem: Ich möchte Werte in einer vorhandenen Ini-Datei verändern. Nun habe ich das Problem das der Autor "//" nutzt um Bestimmte Werte zu ignorieren...
Das Ganze sieht in der Ini so aus:
ID=3
Description=Terminal
DataSource=Importdaten
MaxAttempts=3