Autor Beitrag
LickstheComp
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37



BeitragVerfasst: Do 23.04.09 14:51 
Hallo, ich habe schon danach gesucht und einiges gefunden aber komme trotzdem nicht weiter.

ausblenden Delphi-Quelltext
1:
2:
3:
If listview1.Items.item[0].SubItems[0] = 'N' then begin
  // in dieser Spalte sollte ein icon erscheinen!
end;


Ich habe verschiedene Icons in eine Imagelist geladen und möchte jetzt das erste Icon
aus der Liste anzeigen.
Lg


Moderiert von user profile iconGausi: Topic aus Datenbanken verschoben am Do 23.04.2009 um 15:58
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Do 23.04.09 15:20 
Und was hast du gefunden, wo du nicht weiter kommst?

_________________
PROGRAMMER: A device for converting coffee into software.
LickstheComp Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 37



BeitragVerfasst: Do 23.04.09 15:26 
Ich habe viele Themen über Listview mit Icons gefunden aber aus keinem konnte ich entnehmen, wie
ich das Icon aus der ImageList in die Spalte bekomme. :wink:
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Do 23.04.09 15:32 
ausblenden Delphi-Quelltext
1:
ListView1.Items[0].SubItemImages[0] := 0;