Thanks folks, perhaps I have not made myself clear. The issue is
end users are making mistakes.
Winnin, I would typically have 20 to 50 items in the checklistbox, maybe hundreds, a RadioButton solution would indeed be a "faulty design" to use your words ! I have not used this control in any published application so how do you know my design faulty ?
eljo, I agree with you but my "field testing" does not. Two out of three testers expected the highlight to be significant. If its not significant, then why is it there ?
Lucamar, thanks but I have already thought of uses for this control. Multiselect is irreverent. The issue is that end users click an item and expect it to be 'selected' for whatever purpose.
So, again, to be clear, end users (bless 'em) are confused because they seem to be able to 'select' something in the checklistbox in two different and potentially conflicting ways. I know the checkboxes are the key, you know its the key, the end users do not necessarily know. Indeed, most of them don't even know that its called a
CheckListBox.
If there is not a better solution, I guess I'll experiment with setting Itemindex to -1 after a onclick event ......
Thanks for your input folks.
Davo
edit : Yeah, that works,
procedure TForm1.CheckListBox1Click(Sender: TObject);
begin
CheckListBox1.ItemIndex := -1;
end;
Makes it impossible to select an item, still can tick one or more checkbox ....
D