On Thu, 7 Mar 2013 09:54:44 +0800
Xiangrong Fang <[email protected]> wrote:

> Hi All,
> 
> I am writing some text on a TPaintBox.Canvas.  I found that if I set
> canvas.font on FormShow, it does NOT work, I have to set font inside the
> OnPaint procedure of the canvas. Why the font information is not persisted
> when it is set?

Have you set ParentFont:=false?

Mattias

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

Reply via email to