mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 03:40:31 +02:00
let designer search recursively for hint window text (use same procedure as mousedownoncontrol)
git-svn-id: trunk@7351 -
This commit is contained in:
parent
c2be93cd45
commit
1bfc334185
@ -2538,9 +2538,7 @@ begin
|
||||
AComponent:=NonVisualComponentAtPos(ClientPos.X,ClientPos.Y);
|
||||
if AComponent=nil then begin
|
||||
// then search a control at the position
|
||||
ClientPos := AWinControl.ScreenToClient(Position);
|
||||
|
||||
AComponent := AWinControl.ControlAtPos(ClientPos,true,true);
|
||||
AComponent := ControlAtPos(ClientPos.X,ClientPos.Y,true,true);
|
||||
if not Assigned(AComponent) then
|
||||
AComponent := AWinControl;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user