mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-07 04:26:21 +02:00
fix TCheckListBox.SetChecked by Damien Gerard
git-svn-id: trunk@13718 -
This commit is contained in:
parent
2d5af20d8c
commit
e7d0fde1ac
@ -251,7 +251,10 @@ end;
|
|||||||
procedure TCustomCheckListBox.SetChecked(const AIndex: Integer;
|
procedure TCustomCheckListBox.SetChecked(const AIndex: Integer;
|
||||||
const AValue: Boolean);
|
const AValue: Boolean);
|
||||||
begin
|
begin
|
||||||
SetState(AIndex, cbChecked);
|
if AValue then
|
||||||
|
SetState(AIndex, cbChecked)
|
||||||
|
else
|
||||||
|
SetState(AIndex, cbUnChecked);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomCheckListBox.ClickCheck;
|
procedure TCustomCheckListBox.ClickCheck;
|
||||||
|
Loading…
Reference in New Issue
Block a user