dockmanager example: try to remove flicker on CreateDockable

git-svn-id: trunk@24828 -
This commit is contained in:
dodi 2010-04-22 20:37:24 +00:00
parent fe33266f15
commit b06278020c

View File

@ -729,7 +729,7 @@ begin
r.Bottom := r.Top + Client.UndockHeight;
Site.BoundsRect := r;
//DebugLn('Before Wrap: ', DbgS(Site.BoundsRect));
Site.Visible := True;
//Site.Visible := True;
Client.Align := alNone;
//Client.Visible := True; //otherwise docking may be rejected - see above
Client.ManualDock(Site);
@ -741,6 +741,7 @@ begin
//Client.Left := 0;
Site.DockManager.ResetBounds(True);
end;
Site.Visible := True;
except
DebugLn('error WrapDockable: ' + Client.Name);
if Client.HostDockSite <> Site then