CheckListBox1.State[0]:=cbGrayed; CheckListBox1.State[1]:=cbChecked; CheckListBox1.State[2]:=cbUnchecked;