mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-17 15:50:34 +01:00
LCL, added col,row arguments to TToggledCheckboxEvent, issue #15558
git-svn-id: trunk@23524 -
This commit is contained in:
parent
1039496739
commit
e82038e7ea
@ -305,7 +305,7 @@ type
|
|||||||
procedure(sender: TObject; aCol, aRow: Integer;
|
procedure(sender: TObject; aCol, aRow: Integer;
|
||||||
const OldValue: string; var NewValue: String) of object;
|
const OldValue: string; var NewValue: String) of object;
|
||||||
|
|
||||||
TToggledCheckboxEvent = procedure(sender: TObject;
|
TToggledCheckboxEvent = procedure(sender: TObject; aCol, aRow: Integer;
|
||||||
aState: TCheckboxState) of object;
|
aState: TCheckboxState) of object;
|
||||||
|
|
||||||
{ TVirtualGrid }
|
{ TVirtualGrid }
|
||||||
@ -8403,7 +8403,7 @@ begin
|
|||||||
SetCheckboxState(Col, Row, AState);
|
SetCheckboxState(Col, Row, AState);
|
||||||
|
|
||||||
if Assigned(OnCheckboxToggled) then
|
if Assigned(OnCheckboxToggled) then
|
||||||
OnCheckboxToggled(self, AState);
|
OnCheckboxToggled(self, Col, Row, AState);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user