Autor Beitrag
Bronstein
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 578
Erhaltene Danke: 1

WIN XP
Delphi 6 / Delphi 2006 / Delphi XE
BeitragVerfasst: Mi 20.06.07 15:34 
ich möchte im bei meinem Listview eine Zeile markieren und diese auch auswählen. Markieren funktioniert so:
ausblenden Delphi-Quelltext
1:
ListView1.Items.Item[100].Selected := true;					

Jetzt ist die Zeile grau hinterlegt. Leider muss ich aber noch zu der Zeile herunterscrollen.
Wie springe ich also zu dieser Zeile

_________________
Es gibt keine dummen Fragen nur dumme Antworten!!!
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 20.06.07 16:26 
Hallo,

ausblenden Delphi-Quelltext
1:
ListView.Selected.MakeVisible(True);					

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )