Autor Beitrag
napsterforever
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 73



BeitragVerfasst: Do 20.08.09 17:55 
wie kann ich abfragen ob ein item in der listview markiert ist (mit der maus)?
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 20.08.09 18:15 
Moin!

Schau dir mal ListView1.ItemFocused und ListView1.Selected an, das jeweils mit einem Assigned() garniert - voila! ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
napsterforever Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 73



BeitragVerfasst: Do 20.08.09 18:25 
aaaah, das assigned hat gefehlt!
keine Ahnung wofür das gut ist, aber jetzt gehts :D
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 20.08.09 18:39 
user profile iconnapsterforever hat folgendes geschrieben Zum zitierten Posting springen:
keine Ahnung wofür das gut ist, aber jetzt gehts :D

Dann tipp es in die Delphi Hilfe, oder in ein Wörterbuch, wie z.B. dict.leo.org

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



BeitragVerfasst: Do 20.08.09 18:47 
ich bevorzuge dict.cc, dadurch werde ich aber auch nicht schlauer :lol:
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 20.08.09 18:50 
Sagen wir mal so, Du kannst schreiben
ausblenden Delphi-Quelltext
1:
Assigned(Listview.Selected)					

oder
ausblenden Delphi-Quelltext
1:
Listview.Selected <> nil					

Nun klarer?