mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 14:31:29 +02:00
groupbox has clickable client area (fixes issue #1309)
git-svn-id: trunk@7964 -
This commit is contained in:
parent
82fb7d047d
commit
59f061c29a
@ -1198,10 +1198,17 @@ Begin
|
||||
end;
|
||||
WM_NCHITTEST:
|
||||
begin
|
||||
if (lWinControl <> nil) and (lWinControl.FCompStyle = csHintWindow) then
|
||||
begin
|
||||
LMessage.Result := HTTRANSPARENT;
|
||||
WinProcess := false;
|
||||
if (lWinControl <> nil) then begin
|
||||
if (lWinControl.FCompStyle = csHintWindow) then
|
||||
begin
|
||||
LMessage.Result := HTTRANSPARENT;
|
||||
WinProcess := false;
|
||||
end
|
||||
else if (lWinControl is TCustomGroupBox) then
|
||||
begin
|
||||
LMessage.Result := HTCLIENT;
|
||||
WinProcess := false;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
WM_NCLBUTTONDOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user