mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 16:56:03 +02:00
LCL: Fixed OnClick event not triggered for a TSpeedButton on a fresh created form when inside a TGroupBox. Issue #26638
git-svn-id: trunk@57947 -
This commit is contained in:
parent
54a75891f1
commit
12c69fc609
@ -677,6 +677,7 @@ end;
|
|||||||
------------------------------------------------------------------------------}
|
------------------------------------------------------------------------------}
|
||||||
procedure TCustomForm.Activate;
|
procedure TCustomForm.Activate;
|
||||||
begin
|
begin
|
||||||
|
SetCaptureControl(nil);
|
||||||
if Assigned(FOnActivate) then FOnActivate(Self);
|
if Assigned(FOnActivate) then FOnActivate(Self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user