471,306 Members | 1,337 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

Hard Question ! - Change language in specific textBox

Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.
Jan 16 '06 #1
3 2051
On the text boxes, handle the focus received event and in this , add the code
to change the input IME.

I hope I got the question correct.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.

Jan 17 '06 #2
I didn't get your answer.

I'm looking for a way to move from one language to the other...

"Vipul Patel" wrote:
On the text boxes, handle the focus received event and in this , add the code
to change the input IME.

I hope I got the question correct.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.

Jan 17 '06 #3
That will be possible through event handling. That's what my initial answer
was. I will look for a sample code and post it later.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
I didn't get your answer.

I'm looking for a way to move from one language to the other...

"Vipul Patel" wrote:
On the text boxes, handle the focus received event and in this , add the code
to change the input IME.

I hope I got the question correct.
--
Regards
Vipul Patel
Microsoft MVP
"Gidi" wrote:
Hi,

I've a form with few TextBoxes and in all i'm writing in language A except
one which i want to write in language B (both A and B are installed on my
PC). how can I make the specific textBox to write in language B when it has
the focus and get back to language A when it loses it.

I tried to send Alt+Shift and it's working when i move from one TextBox to
the other, but then when i leave the form (OnClosing i.e.) i'm stuck with
language B no matter what i'm doing.

Need HELP !!!!

thanks,
Gidi.

Jan 17 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Hans-Joachim Widmaier | last post: by
33 posts views Thread by Xah Lee | last post: by
2 posts views Thread by Mike | last post: by
7 posts views Thread by Richard Bond | last post: by
3 posts views Thread by Ashton | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.