Link to home
Start Free TrialLog in
Avatar of eeyo
eeyo

asked on

Best Font for Winform .NET application

Is there a preferred font for Winform .Net Applications targeting Win 7 to Win 10 (and possibly recent Server editions as well) that doesn't font redistribution?   I think that the standard MS San Serif looks awful, especially when bolded.  I was leaning towards using Calibri.  This would mainly be for a screen font, but may be used for reports as well. If Calibri isn't a good font for this, would you recommend anything else?
Avatar of Nitin Sontakke
Nitin Sontakke
Flag of India image

I don't personally believe there is any preferred font. Microsoft suggests that you use whatever is system's default. This way the user ultimately will be able to control it through preferences - cannot find where exactly is this!

I think that the standard MS San Serif looks awful, especially when bolded.
- Cannot agree more!

The worst part is, that is what it's get defaulted to (when you create new form in Visual Studio) AND there is no way where you can change it! Not that I am aware of anyway!
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
frmBaseForm is the approach I am currently following.

However, it was generally expected that such things are taken somewhere from registry and can be configured by user to ones preference. That's the point I was trying to make.
Avatar of eeyo
eeyo

ASKER

Is this the "Segoe IU" font?  Also, is there a common font size for this?  The 8.25 seems a little small.
Avatar of eeyo

ASKER

Note for any other Newbies like me.  Here is a quick walkthrough on inheriting forms.

  1. Create a new form called frmBaseForm (or whatever you like)
  2. Change the Font and font size to whatever you want.
  3. Save frmBaseForm, then BUILD your project (VERY IMPORTANT)
  4. On your new or existing forms, open up the *.Designer.VB file, (e.g MyForm1.Designer.VB).  This is not the same as your standard coding files (MyForm1.VB [Design] or  MyForm1.VB).  You may need to click on the "Show All Files" button to find it.
  5. Make the changes below.  Essentially, you are changing the standard "Inherits" statement to point to frmBaseForm.
Note: for existing forms, it seems to change all fonts to this new frmBaseForm's fonts, but if you had already made any changes in font size, bolding, etc., it doesn't automatically adjust them.  Also, if you make another font or font size change in your frmBaseForm, you may need to re-BUILD your project again for the changes to propagate to your other forms.

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()>
Partial Class frmYourForm
   'Inherits System.Windows.Forms.Form
   Inherits frmBaseForm

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eeyo

ASKER

Summary: Segoe Font, Size 10