|
-
Dec 2nd, 2011, 11:44 AM
#10
Re: how do i Change font/text size of every "label,button,groupbox" ect. Globally?
 Originally Posted by Grimfort
Here is how I do it:
To set the current font, I have a global variable (used above) that I can just change when I need to:
Code:
Friend ApplicationFontFamily As FontFamily = System.Drawing.SystemFonts.IconTitleFont.FontFamily
The reason for all the extra code is to ensure that when the font is changed, only the family is changed, the size, bold, italic etc are all kept as they have been designed to be this format. Possibly you do not need this now, but later you will  .
Nicely done, especially in regards to the font family.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|