Anchordocking: Calculate docksite coordinates right after undocking. Issue #23596, patch from B4Z1l3

git-svn-id: trunk@40931 -
This commit is contained in:
juha 2013-04-29 15:32:28 +00:00
parent beb92d26d8
commit 3e1080ac8f

View File

@ -4190,9 +4190,10 @@ var
begin
if Parent=nil then exit;
DisableAutoSizing;
p:=ClientOrigin;
p := Point(0,0);
p := ClientToScreen(p);
Parent:=nil;
SetBounds(Left+p.x,Top+p.y,Width,Height);
SetBounds(p.x,p.y,Width,Height);
EnableAutoSizing;
end;