Registriert seit: 18. Aug 2004
Ort: Edewecht
712 Beiträge
Delphi 5 Professional
|
Re: listview zeige letztes subitem der angeklickten zeile
28. Jan 2005, 22:58
Pushen erst nach 24 Stunden!
Delphi-Quellcode:
with ListView1 do
if Assigned(Selected) then
with Selected.SubItems do
ShowMessage(Strings[Count - 1]);
Delphi-Quellcode:
procedure TForm1.ListView1SelectItem(Sender: TObject; Item: TListItem; Selected: Boolean);
begin
if Selected then
if Assigned(Item) then
with Item.SubItems do
ShowMessage(Strings[Count - 1]);
end;
Ciao, Sprint.
"I don't know what I am doing, but I am sure I am having fun!"
|