![]() |
TWebbrowser Flicker on Resize
Hello!
When i put a panel and align it on top and then put a webbrowser and align it to the top.Then i load the webpage and try to resize a form it flickers? |
Re: TWebbrowser Flicker on Resize
Hi,
is it possible that you didn't set property DoubleBuffered := true. I'm not sure, but try it for the entire form or just set the property only for the panel or/and the TWebBrowser control. It's your turn... :wink: Greets BlackDragon |
Re: TWebbrowser Flicker on Resize
It does not work...
Now don't get me wrong i loaded xaml but if i load normal page it does the same. However if i only put webbrowser as top component it doesnt flicker at all. ![]() ![]() |
Re: TWebbrowser Flicker on Resize
Hi Razor,
i figured out your problem and you're right. Here is your solution:
Code:
Now test. I also set the DoubleBufferd property of the form to true, but it seems that there are no differences.
Form1
|_ Panel1 (Align: Top) |_ Panel2 (Align: Client) |_ WebBrowser1 (Align: Client) The flicker is gone. Don't ask me why... :wink: I think it's an internal painting problem. Greets BlackDragon |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:41 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz