mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 16:21:02 +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;
|
||||
const OldValue: string; var NewValue: String) of object;
|
||||
|
||||
TToggledCheckboxEvent = procedure(sender: TObject;
|
||||
TToggledCheckboxEvent = procedure(sender: TObject; aCol, aRow: Integer;
|
||||
aState: TCheckboxState) of object;
|
||||
|
||||
{ TVirtualGrid }
|
||||
@ -8403,7 +8403,7 @@ begin
|
||||
SetCheckboxState(Col, Row, AState);
|
||||
|
||||
if Assigned(OnCheckboxToggled) then
|
||||
OnCheckboxToggled(self, AState);
|
||||
OnCheckboxToggled(self, Col, Row, AState);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user