Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-11

What could trugger the repaint of a Gecko component?

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis

Hi all,

I have something strange and maybe someone can help me with it.

I'm working on the Geckocomponents. I have a component based on a TCustomWincontrol. This control encapsulates a (gecko)-browser, so you can use gecko to browse webpages within this control.

Now when this control is on a form and a website is loaded, you can see nothing. But when the form's size is changed (for example with the mouse) but the control's size doesn't change (ie: it doesn't use anchors/alCient) then the website is drawn.
Another way to trigger the painting of the website is to set a property of another control on the form. For example the caption of a label.

This is on gtk2, on Windows the website is immediately drawn. Any idea what can exactly trigger the embedded control to be drawn?

Joost.

Reply by email