Autor Beitrag
Ivy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 228



BeitragVerfasst: Mo 16.05.11 11:24 
Hallo zusammen,
ich möchte dass Bilder in meiner ListView angezeigt werden. Ich habe eine ImageList angelegt, diese mit meinen Bildern befüllt und möchte diese jetzt mit der Listview verknüpfen. Wenn ich in meiner ListView und ter "Einträge bearbeiten" geh, dann kann ich bei ImageKey nichts auswählen. Aber anders kann ich ja die beiden nicht zusammenbringen, oder?
Um hilfe wär ich dankbar...
Gruß
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 16.05.11 11:37 
Du musst die ImageList zuerst bei SmallImages, LargeImages, ... (oder so ähnlich) bei der ListView als Bilderquelle zuordnen.
Ivy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 228



BeitragVerfasst: Mo 16.05.11 11:39 
ah super, das geht..
aber mein bild ist jetzt ganz klein, warum das?? wie kann man das in originial größe anzeigen??
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 16.05.11 11:44 
In welchem Modus benutzt du die ListView denn? Report mit Spalten, Icons?
Ivy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 228



BeitragVerfasst: Mo 16.05.11 11:48 
hm? wo sehe ich den modus meiner listview?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 16.05.11 11:51 
Das steht in View, aber vielleicht hast du auch einfach nur vergessen ImageSize der ImageList korrekt zu setzen.
Ivy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 228



BeitragVerfasst: Mo 16.05.11 13:19 
ja jetzt klappts, aber das bild ist total verpixelt... also wenn ich die größe in der imagelist einstelle...
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mo 16.05.11 13:30 
Zitat:
ja jetzt klappts, aber das bild ist total verpixelt... also wenn ich die größe in der imagelist einstelle...


Du hast wahrscheinlich erst das Bild hinzugefügt und dann die Größe eingestellt. Dann hat die Imagelist das Bild längst runter gerechnet.
Erst die Größe einstellen und dann die Images hinzufügen.
Ivy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 228



BeitragVerfasst: Mo 16.05.11 13:35 
ahh okay, super danke :D