Autor Beitrag
n-regen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 202
Erhaltene Danke: 2



BeitragVerfasst: Di 24.03.09 16:12 
Hallo!

Ich möchte in einem TListView (ViewStyle = vsReport) in allen Feldern einer Spalte je einen Button einbauen.
Wie kann ich das machen?
Mein bisheriger Ansatz, einfach einen Text 'Hier klicken' o.ä. in das entsprechende Feld zu schreiben und in ListView1Click über GetItemAt herauszufinden, ob der Benutzer gerade auf meinen Pseudo-Button geklickt hat, schlägt fehl, da GetItemAt keine Subitems berücksichtigt.

Nils
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 28.03.09 23:06 
Schau dir mal dieses Beispiel an, dort wird eine ProgressBar in die ListView eingeblendet:
delphi.about.com/lib...weekly/aa053105a.htm
n-regen Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 202
Erhaltene Danke: 2



BeitragVerfasst: Mo 30.03.09 17:09 
Es funktioniert!
Danke!