procedure TForm1.CheckListBox1ItemClick(Sender: TObject; Index: integer);begin if CheckListBox1.Checked[Index] then CheckListBox1.Items[index]:='checked' else CheckListBox1.Items[index]:='not checked';end;