How to change default language of a TextBox?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
Back
Top