How to specify a font for a window form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a window form application. When I port the application to another
computer
which has a different default font, the form gets screw up. How do I specify
the
font a window form use in the code so that when I port to another computer,
it will
use the same font no matter what the default font the new computer use?
 
Hi Kueishiong,

System.Windows.Forms.Form uses Microsoft Sans Serif, 8.25pt as its default
Font. The only way this will change is when you change it explicitly in
code. Perhaps your problem is related to screen resolution?

- Dave Sexton
 
Back
Top