Autor Beitrag
Leathl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Di 07.01.03 22:08 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:46, insgesamt 1-mal bearbeitet
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mi 08.01.03 12:05 
Hallo,

wie hast du denn die Values hinzugefügt?
Hast du vieleicht Werte Eingegeben aber keinen Schlüssel?

Bei mir klappt es.

Gruß
Klabautermann
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mi 08.01.03 15:55 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:46, insgesamt 1-mal bearbeitet
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mi 08.01.03 15:58 
Leathl hat folgendes geschrieben:
und 4 andere sachen gemacht

Was für 4 Sachen?

Poste doch mal den entsprechenden Code!

Gruß
TINO
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mi 08.01.03 16:21 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:46, insgesamt 1-mal bearbeitet
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Mi 08.01.03 16:38 
Hallo,

wenn du etwas wie den Dateimanager willst (mit all seinen Ansichten) dann solltest du eine ListView verwenden. Wenn du diese auf die Ansicht (ich glaube Style heißt die Eigenschaft) Report stellst hast du das was du dir wünscht.

Gruß
Klabautermann
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Mi 08.01.03 19:05 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:47, insgesamt 1-mal bearbeitet
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 09.01.03 00:01 
Hallo,

ein weiteres Fenster öffnest Du am besten mit der Methode ShowModal. Einen weiteren Eintrag in der Listview erstellst Du mit der Methode Add der Eingeschaft Items. Die Methode Add gibt Dir sogar gleich das Item, welches neu erstellt wurde, zurück. Dann kannst Du über die Eigenschaft Caption den Wert aus dem Edit-Feld zuweisen.

Gruß
TINO
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Do 09.01.03 17:52 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:47, insgesamt 1-mal bearbeitet
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Fr 10.01.03 10:03 
Hallo Leathl,

du rufst die Methode AddItem auf. In meinem Posting oben habe ich aber geschrieben das das mit der Funktion Add funktioniert. Schau dir diese Funktion mal in der Hilfe an. Dort gibt es auch ein Beispiel!

Gruß
TINO
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Fr 10.01.03 16:55 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:47, insgesamt 1-mal bearbeitet
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 10.01.03 17:48 
Hallo,
Leathl hat folgendes geschrieben:
geht auch nicht und bei mir (Delphi7 Enterprise) finde ich keine konkrete hilfe dazu...

Rufe mal über das Hautmenü Hilfe->Delphi Hilfe auf dann gebe unter index tListview ein. Jetzt wirst du wahrscheinlich gefagt ob du die hilve zur VCL oder CLX Version haben willst. Da wählst du VCL und kommst an alle Informationen zur Listview ran.

Ein Element fügst du übrigens so hinzu:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
  VAR
    NewItem : tListItem;
begin
    NewItem := LV.Items.Add;
    NewItem.Caption := 'Spalte 1';
    NewItem.SubItems.Add('Spalte 2');
    NewItem.SubItems.Add('Spalte 3');
    [...]


Gruß
Klabautermann
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Fr 10.01.03 18:17 
---


Zuletzt bearbeitet von Leathl am So 16.08.09 13:47, insgesamt 1-mal bearbeitet
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Fr 10.01.03 22:13 
Hallo,

dann gehe auf tListItem und drücke F1 (wenn du gefragt wirst, du willst infos zur VCL Version). In dem nun erscheinenden Info-Text steht, in welcher Unit tListItem Definiert ist. Den Namen dieser Unit musst du in deine USES Klausel aufnehmen.

Gruß
Klabautermann
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Sa 11.01.03 13:37 
Und schau Dir bitte einmal das Beispiel in der Hilfe an!
Leathl Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 276



BeitragVerfasst: Sa 11.01.03 15:15 
---