Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / November 2006

Tip: Looking for answers? Try searching our database.

How to change default language of a TextBox?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bishoy - 13 Nov 2006 06:41 GMT
Hi All,

I have a TextBox in a form that has the property RightToLeft is set to Yes.

The TextBox is also Right to Left by default.

I need to set the default language of the TextBox to arabic.

Thank you.
Bishoy
Stoitcho Goutsev (100) - 13 Nov 2006 15:05 GMT
Bishoy,

AFAIK you cannot change the language only for a particular text box. The
input language is defined on the level of the UI thread and it is controlled
by the Application.CurrentInputLanguage property.

What you can do is to track the text box focus and when the control gets the
focus change the Application.CurrentInputLanguage to Arabic.

Signature

HTH
Stoitcho Goutsev (100)

> Hi All,
>
[quoted text clipped - 7 lines]
> Thank you.
> Bishoy

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.