turbopower: Make sure that TIpHtmlFrame has valid layout when MakeAnchorVisible is called.

git-svn-id: trunk@49435 -
This commit is contained in:
wp 2015-06-24 17:31:51 +00:00
parent 6b2412959f
commit 8ab80a7904

View File

@ -13957,6 +13957,7 @@ begin
E := FHtml.FindElement(URL);
FCurAnchor := '';
if E <> nil then begin
HyperPanel.GetPageRect; // Make sure that layout is valid
E.MakeVisible;
FCurAnchor := '#'+URL;
end else