Einzelnen Beitrag anzeigen

_BlackDragon_

Registriert seit: 4. Dez 2007
Ort: Eschweiler
64 Beiträge
 
#4

Re: TWebbrowser Flicker on Resize

  Alt 14. Mär 2009, 16:57
Hi Razor,

i figured out your problem and you're right.

Here is your solution:
  • Put a panel at the form. Set its align to top. (for example)
  • Put another panel and its align to client.
  • Put your TWebBrowser at second panel.

Code:
Form1
 |_ Panel1 (Align: Top)
 |_ Panel2 (Align: Client)
     |_ WebBrowser1 (Align: Client)
Now test. I also set the DoubleBufferd property of the form to true, but it seems that there are no differences.
The flicker is gone. Don't ask me why...

I think it's an internal painting problem.

Greets

BlackDragon
  Mit Zitat antworten Zitat