Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change the font for the whole application?

Status
Not open for further replies.

mrdance

Programmer
Apr 17, 2001
308
SE
I am doing a japanese version of my program and need to change the font on all forms in the program. How can I do that the best way?

thanks / Henrik

--- neteject.com - Internet Solutions ---
 
look at the culture, try to use localization if possible. Maybe you should download the 101 samples fo VB.

google search for them. There is a sample that localizes in italian, german,etc


-bclt
 
But change of culture does not solve my problem, or? I mean, I use Tahoma in my application and changing to japanese culture won't give me japanese letters or?

--- neteject.com - Internet Solutions ---
 
It does something like translation. Look at this your self.
Here is the link; click "download" at upper right of the page:



The folder is "VB.NET - Advanced .NET Framework (Localization) - Work with Resource Files"
Localization in the form is set to true

-It may fit you ;)
-bclt
 
Seems like I have to set font manually on each control anyway. I was looking for a one-line solution ;)

thanks anyway!

--- neteject.com - Internet Solutions ---
 
The code provided in the example found in that link has 3 lines of code + one property that has to be set to true.


Try this first before manualy doing this you want!


-bclt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top