How to change the font of the main objects in Delphi?

One would think that for MainMenu there will be a Font property, since it is for everything else, for example. Buttons, shortcuts, etc.

+4
source share
2 answers

Write for example

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

and make sure that the OwnerDraw property of your TMainMenu set to true .

+6
source

Take a look at the TScreen.MenuFont property.

+1
source

Source: https://habr.com/ru/post/1308544/


All Articles