[Lazarus] change Font on TButton do not work?

Josef Schnieder mail at josef-schnieder.de
Sun Jan 31 20:17:15 CET 2016


some informations about the enviroment:
FPC 3.1.1
Lazarus 1.7 Rev. 51308
SUSE 42.1

best regards
Josef

Am 31.01.2016 um 19:42 schrieb Josef Schnieder:
> Hallo,
>
> I have  an self-created TTF-Font with graphic symbols. f.e.  an Symbol 
> like "*" instead of "A".
>
> Now I assign:
>
> MyButton.Caption :=  'A';
> MyButton.Font.Name:=  'MyFont';
> MyButton.refresh;
>
>
> But the button caption is unchanged. It appears an "A" instead of "*".
> I tested the Font in Libreoffice and it works well.
>
> any idea?
>
> In the IDE the button caption will also be unchanged, when I change 
> the font.
>
> best regards
> Josef
>
>
>
> -- 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus





More information about the Lazarus mailing list