mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 13:49:16 +02:00
lcl: set csCaptureMouse to TCustomLabel - this partly fix issue #0021306
git-svn-id: trunk@35963 -
This commit is contained in:
parent
a54c5387fe
commit
bd4ff02813
@ -206,7 +206,7 @@ end;
|
||||
constructor TCustomLabel.Create(TheOwner: TComponent);
|
||||
begin
|
||||
inherited Create(TheOwner);
|
||||
ControlStyle := [csSetCaption, csClickEvents, csDoubleClicks, csReplicatable];
|
||||
ControlStyle := [csCaptureMouse, csSetCaption, csClickEvents, csDoubleClicks, csReplicatable];
|
||||
with GetControlClassDefaultSize do
|
||||
SetInitialBounds(0, 0, CX, CY);
|
||||
FShowAccelChar := True;
|
||||
|
Loading…
Reference in New Issue
Block a user