Registriert seit: 18. Aug 2004
Ort: Edewecht
712 Beiträge
Delphi 5 Professional
|
Re: ListView mit Section Headern
29. Nov 2004, 13:31
Delphi-Quellcode:
with ListView1.Columns.Add do
begin
Caption := '1. Spalte';
Width := 150; // -1, -2
end;
with ListView1.Columns.Add do
begin
Caption := '2. Spalte';
Width := 150; // -1, -2
end;
with ListView1.Items.Add do
begin
Caption := '1. Eintrag';
SubItems.Add('Nächster Wert')
end;
Ciao, Sprint.
"I don't know what I am doing, but I am sure I am having fun!"
|