views:

240

answers:

2

One would think that there would be a Font property for MainMenu, since there is one for just about everything else e.g. Buttons, Labels, etc.

A: 

Look at the TScreen.MenuFont property.

Remy Lebeau - TeamB
Thank you. Sorry for my lack of knowledge, but exactly how do I use it? I've Googled but there are no examples, only your statement.Thanks in advance.
DoctorBean
The TScreen.MenuFont property is a TFont. Set its properties at run-time like you would any other Font property, ie: Screen.MenuFont.Size := ...;
Remy Lebeau - TeamB
Thank you. I guess I should have tried Googling Screen instead of TSCreen.
DoctorBean
A: 

Write, for instance,

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

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

Andreas Rejbrand
Many thanks. Next time I'll Google Screen instead of TScreen.
DoctorBean