is there any command to change all font when i maximize windows in vb?

902 views Asked by At

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.

1

There are 1 answers

3
Tony Hopkinson On BEST ANSWER

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.