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.
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
2010-05-02 19:21:23
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
2010-05-03 22:25:43
Thank you. I guess I should have tried Googling Screen instead of TSCreen.
DoctorBean
2010-05-04 08:02:43
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
2010-05-03 18:40:14