> procedure TForm1.CheckListBox1ItemClick(Sender: TObject; Index: integer); > begin > checklistbox1.Checked[index] := not checklistbox1.Checked[index] ; > end;
that _of_course_ wouldn't work. It's not the user changing the checkboxes... it's your code! if you disable the checklistbox, that will only keep the users from being able to change the status of the single checkboxes. Moreover, why are you toggling the "checked" propery, in the onclick? It gets changes its state already... Cheers, A.
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus