PC Review


Reply
Thread Tools Rate Thread

How to change default language of a TextBox?

 
 
=?Utf-8?B?QmlzaG95?=
Guest
Posts: n/a
 
      13th Nov 2006
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
 
Reply With Quote
 
 
 
 
Stoitcho Goutsev \(100\)
Guest
Posts: n/a
 
      13th Nov 2006
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.


--
HTH
Stoitcho Goutsev (100)

"Bishoy" <(E-Mail Removed)> wrote in message
news:6F9AD4FA-C0B5-4992-AED4-(E-Mail Removed)...
> 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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Question ! - Change language in specific textBox =?Utf-8?B?R2lkaQ==?= Microsoft C# .NET 3 17th Jan 2006 02:43 PM
Setting Default Language in specific TextBox =?Utf-8?B?R2lkaQ==?= Microsoft C# .NET 1 3rd Jul 2005 03:57 PM
Changing the default language in specific textBox =?Utf-8?B?R2lkaQ==?= Microsoft C# .NET 4 2nd Jul 2005 10:11 PM
Default Keyboard Language for a TextBox =?Utf-8?B?QWxleCBNYWdoZW4=?= Microsoft Dot NET Framework Forms 0 12th Oct 2004 07:47 PM
Default Language Change Derek Pearce Windows XP General 0 8th Oct 2004 11:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:41 AM.