Zitat von Martin Friebe <[EMAIL PROTECTED]>:

> Maybe the following may be of help.
> http://bugs.freepascal.org/view.php?id=11560
>
> I just spotted in the below
> > How to assure, that all nested components will be repainted after
> > calling MyPanel.Paint, because actually all components are behind new
> I think you should call MyPanel.Invalidate, instead of MyPanel.Paint?
> that should take care of repainting any child-controls.

He does not call Paint directly. He created his own TPanel descendant and
overrid Paint. That's the recommended way.
The problem is, that this does not work under gtk1, because the painting happens
after the gtk has painted TPanel and TRadioButton and he wants to paint between
those two. This works under the other widgetsets.


Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to