Forum: Object-Pascal / Delphi-Language
Delphi
by mlspider,
27. Jul 2009
Auch ich habe meine Brille erneut geputzt.
Gerade auch gesehen. Jetzt funzt es. Danke.
Forum: Object-Pascal / Delphi-Language
Delphi
by mlspider,
27. Jul 2009
try
for i := 0 to Pred(ListBox2.Items.Count) do
begin
// ab dieser Zeile zickt der Compiler
s := Copy(Pos('=',ListBox2.Items) + 1, Length(ListBox2.Items));
ListboxBox2.Items := s;
end;
finally
Forum: Object-Pascal / Delphi-Language
Delphi
by mlspider,
27. Jul 2009
Und wie könnte so eine For-Schleife aussehen?
Forum: Object-Pascal / Delphi-Language
Delphi
by mlspider,
27. Jul 2009
Irgendwie stehe ich heute völlig neben mir.
ini:=TIniFile.create(ExtractFilePath(ParamStr(0))+
'Conf\Data\Core.ini');
ini.ReadSectionValues('Name',ListBox1.Items);
Ini.Free;
Als Ergebnis würde es beispielsweise wie folgt aussehen:
01=Versuch