mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:40:26 +02:00
only change cursor if within client area
git-svn-id: trunk@6654 -
This commit is contained in:
parent
780de93e75
commit
c5f71e2011
@ -981,9 +981,12 @@ end;
|
||||
|
||||
function TDesigner.HandleSetCursor(var TheMessage: TLMessage): boolean;
|
||||
begin
|
||||
Form.SetTempCursor(LastFormCursor);
|
||||
TheMessage.Result := 1;
|
||||
Result := true;
|
||||
Result := Lo(TheMessage.LParam) = HTCLIENT;
|
||||
if Result then
|
||||
begin
|
||||
Form.SetTempCursor(LastFormCursor);
|
||||
TheMessage.Result := 1;
|
||||
end;
|
||||
end;
|
||||
|
||||
function TDesigner.SizeControl(Sender: TControl; TheMessage: TLMSize):boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user