AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren

TWebbrowser Flicker on Resize

Ein Thema von Razor · begonnen am 13. Mär 2009 · letzter Beitrag vom 14. Mär 2009
Antwort Antwort
Razor
(Gast)

n/a Beiträge
 
#1

TWebbrowser Flicker on Resize

  Alt 13. Mär 2009, 10:09
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?
  Mit Zitat antworten Zitat
_BlackDragon_

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

Re: TWebbrowser Flicker on Resize

  Alt 13. Mär 2009, 12:16
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...

Greets

BlackDragon
  Mit Zitat antworten Zitat
Razor
(Gast)

n/a Beiträge
 
#3

Re: TWebbrowser Flicker on Resize

  Alt 13. Mär 2009, 16:51
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.

http://img22.imageshack.us/img22/228/11537094.th.jpg
  Mit Zitat antworten Zitat
_BlackDragon_

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

Re: TWebbrowser Flicker on Resize

  Alt 14. Mär 2009, 17: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
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:03 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz