Translate

2013/07/08

How to change font size on MainMenu / ActionMainMenuBar in Delphi

其實比預期得還要簡單!
原來在TForm上有一個屬性:MenuFont。

只要改變它就可以囉!

TMainMenu 和 TActionMainMenuBar 適用!

Ex:
procedure TForm2.FormCreate(Sender: TObject);
begin
  Screen.MenuFont.Name := 'Arial Black';
end;

參考資料:How can I change the fontsize of the mainmenu items in Delphi?

沒有留言:

張貼留言

DataSnap REST API Authorization with PHP

About Authentication with DataSet REST JavaScript client. In connection.js: function setCredentials(user, password) { connectionInf...