Autor Beitrag
rafi@work
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 147

Win2000 Prof
D7 Enterprise
BeitragVerfasst: Di 01.07.03 15:25 
wie kann ich beim erstellen des Forms alle inhalte der zweiten spalte in einer "ListView" ändern z.b. auf "Unknown"??

für eure Hilfe danke ich bestens!
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Di 01.07.03 15:31 
Hi,

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
procedure TForm1.FormCreate(Sender: TObject);
var
  i: Integer;
begin
  for i := 0 to ListView1.Items.Count - 1 do
    ListView1.Items.Item[i].SubItems[0] := 'Unknown';
end;


MFG

- Ernesto -
rafi@work Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 147

Win2000 Prof
D7 Enterprise
BeitragVerfasst: Di 01.07.03 17:50 
juhuu es funzt! Das ist genau der Richtige Code, eigentlich wollte ich noch fragen, wie ich es lösen kann wenn die Anzahl der Einträge unbekannt ist. Doch du hast es nachträglich noch geändert :D Das find ich super! Besten Danke!
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Di 01.07.03 20:26 
Hi rafi,

gerngeschehen :wink:

MFG

- Ernesto -