I am developing a Windows Forms app. Every control I add defaults to
MS Sans Serif 8pt Regular. Is there some way I can modify this on a
per project basis so that I don't have to set the font for every
object if I happen to want this particular app in Comic or Arial?
(Yes, I know I could write a routine that did a For Each over the
entire collection of controls and changed the font. I suspect that
would hit all of them though and I don't necessarily want to change
every one. I just want to make it so that it defaults to something
else.)
TIA
Darwin Abustan[MSFT] - 29 Nov 2004 06:14 GMT
>I am developing a Windows Forms app. Every control I add defaults to
>MS Sans Serif 8pt Regular. Is there some way I can modify this on a
[quoted text clipped - 5 lines]
>every one. I just want to make it so that it defaults to something
>else.)
There is no interface where you can set the default font for the entire project.
However, you can change the font of the form before adding any controls. Any controls that you add after changing the font of the form will inherit the parent form's font.
Darwin Abustan
Support Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.