Autor Beitrag
Anarkids
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 81

Win XP Pro, Freundin
Delphi 2006, C/C++, VisualBasic
BeitragVerfasst: Di 04.04.06 15:22 
So das is jetzt das letzte (für Heute)!

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
procedure TForm3.Button2Click(Sender: TObject)
begin
 ini:=Tinifile.create(extractfilepath(application.exename)+'einstellungen.ini');
 try
  ini.eraseSection(combo1.items[...]); //Hier liegt mein problem
 finally
  ini.free;
 end;
end;

procedure TForm3.FormCreate(Sender: TObject);
var c,h: integer;
begin
 c:=names.count
 ini:=Tinifile.create(extractfilepath(application.exename)+'einstellungen.ini');
 try
  for h := 0 to c -1 do
   combo1.items.add(names[h]);
 finally
  ini.free;
 end;
end;


Ich würde (diesesmal) gern wissen, wie ich das mit dem Löschen von Werten machen könnte, in dem ich eine Combobox benutze.

Bin immer dankbarer ;-)

_________________
Mr.D
Change begins with you - TODAY!
Horschdware
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 744
Erhaltene Danke: 54

Win XP Pro, Win 7 Pro x64
Delphi 7, Delphi XE, C++ Builder 5, SAP R/3
BeitragVerfasst: Di 04.04.06 15:26 
wenn cih jetzt "combo1.Items[combo1.itemindex]" sage dürfte dir das wahrscheinlich schon weiterhelfen...

_________________
Delphi: XE - OS: Windows 7 Professional x64


Zuletzt bearbeitet von Horschdware am Di 04.04.06 17:06, insgesamt 1-mal bearbeitet
Anarkids Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 81

Win XP Pro, Freundin
Delphi 2006, C/C++, VisualBasic
BeitragVerfasst: Di 04.04.06 15:29 
na dann danke dir!

wünsch dir und allen anderen noch'n wirklich coolen tag. man schreibt sich vielleicht morgen *nervangriff* :lol:

_________________
Mr.D
Change begins with you - TODAY!
Horschdware
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 744
Erhaltene Danke: 54

Win XP Pro, Win 7 Pro x64
Delphi 7, Delphi XE, C++ Builder 5, SAP R/3
BeitragVerfasst: Di 04.04.06 17:05 
muahaha,
freu mich schon drauf *g*

_________________
Delphi: XE - OS: Windows 7 Professional x64