Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by 3_of_8,
9. Dez 2005
Ahja. Ich weiß jetzt, wie es geht. Ich habe es jetzt so gemacht:
for I:=0 to high(array) do
begin
lstview.items.add;
with listview.items.item do
begin
Caption:='Titel';
SubItems.Add('Untereintrag1');
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by 3_of_8,
9. Dez 2005
Könnte ich bitte ein Beispiel mit einem Array bekommen? Ich kriege immer AVs.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by 3_of_8,
9. Dez 2005
Ich denke auch, dass es so geht, aber nicht mit SubItems.
@Nightshade: Wieso einfügen, bevor das festgelegt wurde? Und, muss ich es danach noch freigeben?
Am besten, ich formuliere das ganze mal anders. Ich habe ein Record:
type TBla=record
title, bla1, bla2: String;
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by 3_of_8,
9. Dez 2005
Guuuut.
Aber ein Problem habe ich noch:
Wie füge ich ein neues Item hinzu?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by 3_of_8,
9. Dez 2005
Uuuups.
Und was ist eine ListView?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by 3_of_8,
9. Dez 2005
Aaalso, ich habe zwar schon gesucht, aber keine richtigen Antworten gefunden:
Ich brauche eine Listbox, mit der man einfach sowas wie im Anhang machen kann.