Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TCheckListEdit
How to disable an item in the drop-down list
How to disable an item in the drop-down list
Set ItemEnabled from the event OnShowCheckList, at that point the dropdown checklist is created and ItemEnabled[] can be set.
Example:
procedure TForm1.CheckListEdit1ShowCheckList(Sender: TObject); begin CheckListEdit1.ItemEnabled[2]:=false; end;