06-09-2018, Saat: 18:51
Merhaba;
Listboxsa style üzerinden Checkbox ekledim. Seçili olan Checkboxsı nasıl tespit edebilirim?
Listboxsa style üzerinden Checkbox ekledim. Seçili olan Checkboxsı nasıl tespit edebilirim?
procedure TForm1.BtDeleteClick(Sender: TObject);
var
I: Integer;
begin
// ListBox1.BeginUpdate;
try
for I := 0 to ListBox1.Items.Count - 1 do
begin
if ListBox1.ListItems[I].IsChecked then
begin
showmessage('BULDUM');
end;
end;
finally
// ListBox1.EndUpdate;
end;
end;
