[lazarus] Font property ?
Marc Weustink
marc at lazarus.dommelstein.net
Mon Aug 7 13:59:46 EDT 2000
>Hi
>
>In the TestAll app I try to change Font.Color, Font.Name, Font.Size and
>Font.Style
>with no luck. I have looked at the TFont code and it looks like it should
>work.
>I've tried it on TLabel, TButton and TMemo.
>Should it work ?
Think so. I the editor atleast Font.Color and Font.Name are successfull
used. While stating this the editor is ownerdrawn.... TLabel, TButton and
TMemo not.
Ah, the TControl.FFont.OnChange handler isn't set so changes to the font
aren't noticed and handled.
Marc
More information about the Lazarus
mailing list