fix TCheckListBox.SetChecked by Damien Gerard

git-svn-id: trunk@13718 -
This commit is contained in:
paul 2008-01-11 01:17:39 +00:00
parent 2d5af20d8c
commit e7d0fde1ac

View File

@ -251,7 +251,10 @@ end;
procedure TCustomCheckListBox.SetChecked(const AIndex: Integer;
const AValue: Boolean);
begin
SetState(AIndex, cbChecked);
if AValue then
SetState(AIndex, cbChecked)
else
SetState(AIndex, cbUnChecked);
end;
procedure TCustomCheckListBox.ClickCheck;