Thema: Delphi Listview checkbox

Einzelnen Beitrag anzeigen

Razor
(Gast)

n/a Beiträge
 
#1

Listview checkbox

  Alt 22. Aug 2007, 13:52
I want to get checked items with code(programaticly) when i use the code bellow its shows an error.

Delphi-Quellcode:
procedure TForm1.Button5Click(Sender: TObject);
begin

if listview1.Items.Item[listview1.VisibleItems].Checked=true then
 form1.caption:='some items have been checked';


    end;
end.
  Mit Zitat antworten Zitat