Autor Beitrag
root_at_localhost
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 191



BeitragVerfasst: Mo 20.03.06 17:39 
Hallo zusammen,
wie kann ich denn am besten erreichen, dass in einem ListView derjenige eintrag, der markiert ist (wird durch das Programm gesetzt) auch wirklich sichtbar ist, d.h. nicht irgendwo weggescrollt? Der ViewStyle ist vsReport, das ganze dient also quasi als mehrspaltige ListBox.
Danke schonmal
Gruß
Ralf
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: Mo 20.03.06 22:51 
Hallo,

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

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
root_at_localhost Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 191



BeitragVerfasst: Mo 20.03.06 23:04 
Manchmal ist die Lösung so einfach, danke!