Click here to Skip to main content
13,000,324 members (74,783 online)
Rate this:
Please Sign up or sign in to vote.
See more:
How to change font of a form title and toolstrip button text in Lao or other Asian language at runtime in winforms using c#.
I have a Lao Resource file where I defined values for label and other strings in Lao language.

frm_licence(A window form)
font(a string variable in Lao resource file where i set it to SaysthaOT font.

Sample code.

this.Text = Lao.frm_licence.ToString();
this.Font = new Font(Lao.font.ToString(), this.Font.Size);

It is nicely applied on label control and other menustrip values but it is not working for form title and toolstrip button text.

it is working for label control.

Label1.Text = Lao.Label1.ToString();
Label1.Font = new Font(Lao.font.ToString(), Label1.Font.Size);

but not working for a form's title and toolstrip buttons text property

Posted 28-Feb-12 23:24pm
Updated 29-Feb-12 20:02pm
Shahin Khorshidnia 29-Feb-12 5:31am
What do you mean by "not working for form name text and ..." ?
Does it have a text direction problem? Or unreadable text like "??????????"? Or etc ?
devbtl 29-Feb-12 5:57am
when i am converting the winform name it is not converting the font of text.
It is displaying the text same in resource file in windows 7 but in xp it is displaying in unread characters.
OriginalGriff 1-Mar-12 2:03am
Don't bump your question - it is rude.
devbtl 1-Mar-12 2:42am
the reason behind the bump is that I want all visitors read this question otherwise I have to post it again. :)
OriginalGriff 1-Mar-12 3:28am
Consider: if it didn't get answered last time, it probably is because no one here knows. Posting exactly the same question again is also considered rude.
devbtl 1-Mar-12 3:33am
Thanks for info.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 1 Mar 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100