【问题标题】:how can I change the font size in runtime generated button in firemonkey desktop application如何在firemonkey桌面应用程序的运行时生成按钮中更改字体大小
【发布时间】:2023-04-03 02:13:01
【问题描述】:

我想在 delphi xe5 中的 firemonkey 桌面应用程序中更改运行时生成的按钮的字体大小,我试过了:

BArray[I].Font.Family:='Arial';
BArray[I].Font.Size:=40;

但是所有的按钮都是小而默认的字体。

【问题讨论】:

    标签: winforms delphi firemonkey


    【解决方案1】:

    先删除样式

    BArray[i].StyledSettings:=[]
    

    【讨论】:

      猜你喜欢
      • 2020-10-20
      • 1970-01-01
      • 2011-01-19
      • 2012-07-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-04
      相关资源
      最近更新 更多