Domanda

In my program, my default font is fit to small windows but user can maximize windows and then all font is too small when user do that. I would like to increase all font size in all page of my program when user maximize a windows. I can change size for each text but there are too many text that i need to change. Is there any command to change all font in my program ??

Thank you.

È stato utile?

Soluzione

If you have not messed about with the fonts in the controls, then they should all be linked via their ParentFont property. So all you have to do is assign a new font to the form they are on and they'll all happily follow suit.

Note you'll need to get your controls resizing properly as well.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top